Case Status
Log In


Home ยป Action Reference»Input Actions»Get Button Down
Community Wiki

Get Button Down

Sends an FSM Event when a button is pressed.

Button Name
The name of the button. Defined in the Unity Input Manager.
Send Event
The event to send when the button is pressed.
Store the result in a Bool Variable. True if pressed, otherwise false.



Button Names are defined in the Unity Input Manager.

For example:

Control Primary Secondary
Fire1 left ctrl left mouse button
Fire2 left alt right mouse button
Fire3 left cmd middle mouse button

Since the Input Manager defines keyboard and mouse mappings there is some overlap with other actions like Get Mouse Button Down and Get Key Down.

You can also use the Input Manager to map game controller inputs. For example:

XBox Controller:


Last modified on 1/8/2016 10:38 PM by User.

  • RSS Feed