Nucleus handler tools › Docs › Game.ProtoInput › OnInputLocked
Game.ProtoInput.OnInputLocked
Open in the workbench (search, and try it in a handler)
Game.ProtoInput.OnInputLocked: () => void
Function Nucleus calls each time input is locked (the lock key, the gamepad lock shortcut or Game.LockInputAtStart), and once after all instances are set up if input is locked by then. It sees the last player's Context.
✎ AI-written, based on Nucleus LockInputRuntime.cs (Lock), GenericGameHandler.cs (after instance loop); AGENTS.md (last player's Context). Not from the official docs. Is it wrong? Tell us
Is this right?
Tell us what's wrong