Returns true if numlock is on
true
keyboard_get_numlock()
Returns: bool
bool
Returns true if numlock is turned on. If numlock is off it will return false.
if (keyboard_get_numlock()) { Position.X += 5; }
This code will move game object when numlock is turned on.
Back to Keyboard
There was an error while loading. Please reload this page.