ProtoFlux:Key Pressed: Difference between revisions

From Resonite Wiki
Created a page for the Key Pressed node.
 
Added category: ContinuouslyChanging nodes
 
(One intermediate revision by one other user not shown)
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 ==
Line 23: Line 29:


[[Category:ProtoFlux:Devices:Keyboard]]
[[Category:ProtoFlux:Devices:Keyboard]]
[[Category:ContinuouslyChanging nodes]]

Latest revision as of 07:13, 27 May 2025

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.