Nucleus handler tools › Docs › Game.ProtoInput › GetAsyncKeyStateHook

Game.ProtoInput.GetAsyncKeyStateHook

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

Game.ProtoInput.GetAsyncKeyStateHook: boolean

Similar to Get Key State. Async also tells the caller whether the key was pressed since the last call, so this can resolve issues where keys are pressed or release when they shouldn't. Should almost always be enabled.

Category: Proto Input

Game.ProtoInput.GetAsyncKeyStateHook = true;

Handler API docs

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