{{newinoldin|[[0.5.0]]|050|[[0.9.0]]|090|type=function|text=It has been moved to [[Joystick:getAxis]]}}
Returns the direction of the axis.
== Function ==
=== Synopsis ===
<source lang="lua">
direction = love.joystick.getAxis( joystick, axis )
</source>
=== Arguments ===
{{param|number|joystick|The joystick to be checked}}
{{param|number|axis|The axis to be checked}}
=== Returns ===
{{param|number|direction|Current value of the axis}}
== See Also ==
* [[parent::love.joystick]]
[[Category:Functions]]
{{#set:Description=Returns the direction of the axis.}}
{{#set:Since=000}}
== Other Languages ==
{{i18n|love.joystick.getAxis}}