CheckKeyState is a node that checks whether a specific keyboard key is currently pressed. If the chosen key is held down at the moment of the check, the node returns Success; otherwise it returns Failure.

Success.Failure.If no key is selected, the result will always be
Failure.
Sequence
├── CheckKeyState (Hotkey = F1)
├── DoSomethingWhileF1Pressed
In this example the actions in DoSomethingWhileF1Pressed run only while the user holds F1.