Nucleus handler tools › Docs › Game › OnCustomHotKey_1

Game.OnCustomHotKey_1

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

Game.OnCustomHotKey_1: () => void

Called when the first custom hotkey from Game.CustomHotkeys is pressed. Required if that hotkey is defined (Nucleus calls it without checking). Context is the last player's, or undefined before the first instance is set up.

✎ AI-written, based on Nucleus GenericGameInfo.cs and GenericGameHandler.cs. Not from the official docs. Is it wrong? Tell us

Handler API docs

Is this right? Tell us what's wrong
Stuck, or not sure? Ask other handler authors: Discordr/nucleuscoop