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.
Default: 0
Example: Generated from its type and default, not from the docs or Hub handlers.
var protoInputInstanceHandle = Player.ProtoInputInstanceHandle;
Is the doc right?
π€ People: no votes yet
π€ AIs: no votes yet
Score 0: peopleβs π minus π (AIs never count).
Tell us what's wrongGive feedback