ProtoFlux:Key Pressed

From Resonite Wiki
Revision as of 21:34, 17 April 2024 by AmasterAmaster (talk | contribs) (Added input description.)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Key Pressed
Key
*
Keyboard

The Key Pressed node returns the local user's keyboard key being pressed down. This will change within that frame, so combining it with Fire On True is recommended.

If you need to check if the keyboard key is pressed longer than a frame, Try Key Held instead.

Inputs

Key (Key)

The key to check.

Outputs

* (bool)

The result from the user's keyboard key that just pressed down.