ProtoFlux:Key Pressed: Difference between revisions

From Resonite Wiki
Created a page for the Key Pressed node.
 
Added input description.
 
Line 15: Line 15:


{{Note|If you need to check if the keyboard key is pressed longer than a frame, Try [[ProtoFlux:Key Held|Key Held]] instead.|suggestion}}
{{Note|If you need to check if the keyboard key is pressed longer than a frame, Try [[ProtoFlux:Key Held|Key Held]] instead.|suggestion}}
== Inputs ==
=== Key ([[Type:Key|Key]]) ===
The key to check.


== Outputs ==
== Outputs ==

Latest revision as of 21:34, 17 April 2024

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.