Nucleus handler tools βΊ Docs βΊ Context βΊ NumControllers
Context.NumControllers
Open in the workbench (search, and try it in a handler)
Context.NumControllers: number
Number of players in the session that are not keyboard players (IsKeyboardPlayer false). Nucleus only counts it in the first player's Context, before Game.Play; in every other player's Context it is 0. Context.NumKeyboards counts the keyboard players.
Default: 0
Example: Generated from its type and default, not from the docs or Hub handlers.
var numControllers = Context.NumControllers;
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