Input & Time

Key Pressed

True for as long as a key is being held down.

keycode
Key Pressed
Out
Node image coming soon

Usage

The one to use for movement: held keys keep returning true, frame after frame. Feed it from a Keycode node.

Inputs

TypeNameDescription
intkeycode The key to test.

Outputs

TypeNameDescription
boolOut True while the key is down.