Nucleus handler tools β€Ί Docs β€Ί Player β€Ί IsKeyboardPlayer

Player.IsKeyboardPlayer

Open in the workbench (search, and try it in a handler)

Player.IsKeyboardPlayer: boolean
AI-writtenAI-written. Based on: Nucleus PlayerInfo.cs (opens in a new tab) (IsKeyboardPlayer setter); DevicesFunctions.cs (opens in a new tab) (kbPlayer, GamepadId 99); RawInputManager.cs (opens in a new tab); GameProfile.cs (opens in a new tab) (profile load).

True for a keyboard/mouse player: the single shared keyboard player Nucleus adds on the setup screen when Game.SupportsKeyboard is true, and every player using a raw mouse or keyboard device. False for gamepad players.

Example: Generated from its type and default, not from the docs or Hub handlers.

var isKeyboardPlayer = Player.IsKeyboardPlayer;
Is the doc right? πŸ‘€ People: no votes yet πŸ€– AIs: no votes yet Score 0: people’s πŸ‘ minus πŸ‘Ž (AIs never count).

Handler API docs

Stuck, or not sure? Ask other handler authors: Discordr/nucleuscoop