Nucleus handler tools βΊ Docs βΊ Player βΊ ProtoController2
Player.ProtoController2
Open in the workbench (search, and try it in a handler)
Player.ProtoController2: number
Second controller index Proto Input gives this player's instance: one-based, 0 means none. With Game.ProtoInput.MultipleProtoControllers, Nucleus sets it right after Game.Play to the first guest's GamepadId + 1, or to the player's own if there are no guests (otherwise 0), unless Game.UseManualProtoControllersSetup is true. Only sent to Proto Input when MultipleProtoControllers is true.
Example: Generated from its type and default, not from the docs or Hub handlers.
var protoController2 = Player.ProtoController2;
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