Method keys.isPressed
Overload
Returns true
if the specified key or mouse button is pressed.
In UI code use keys.gui instead.
public static bool isPressed(KKey key)
Parameters
key (KKey) |
Returns
Remarks
Uses API GetAsyncKeyState.
Returns true
if the specified key or mouse button is pressed.
In UI code use keys.gui instead.
public static bool isPressed(KKey key)
key (KKey) |
Uses API GetAsyncKeyState.