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
| Type | Name | Description |
|---|---|---|
| int | keycode | The key to test. |
Outputs
| Type | Name | Description |
|---|---|---|
| bool | Out | True while the key is down. |