Home »Action Reference»Input Actions»Get Axis
Index

Get Axis

Gets the value of the specified Input Axis and stores it in a float variable.

Axis Name
The name of the axis. Set in the Unity Input Manager.
Store
The float variable to store the value in.

 

Default Axis Names:

  • "Horizontal"
  • "Vertical"
  • "Mouse X"
  • "Mouse Y"
  • "Mouse ScrollWheel"