Home »Action Reference»Input Actions»Get Button
Index

Get Button

Gets the pressed state of the specified button and stores it in a bool variable. 

Button Name
The name of the button. Set in the Unity Input Manager.
Store
Store the button state in a bool variable.