Nucleus handler tools › Docs › Player › ProtoInputInstanceHandle
Player.ProtoInputInstanceHandle
Open in the workbench (search, and try it in a handler)
Player.ProtoInputInstanceHandle: number
Proto Input's handle for this player's game instance. Nucleus sets it when Proto Input injects into the instance (at launch with Game.ProtoInput.InjectStartup, or after launch with a runtime injection); it is 0 before that and when Proto Input isn't used. Inside Game.Play it is usually still 0, since Proto Input injects after it; use it in callbacks such as Game.ProtoInput.OnInputLocked.
✎ AI-written, based on Nucleus PlayerInfo.cs, ProtoInputLauncher.cs (SetupInstance, InjectStartup, InjectRuntime), GenericGameHandler.cs (call order). Not from the official docs. Is it wrong? Tell us
Default: 0
Is this right?
Tell us what's wrong