{{newinoldin|[[0.5.0]]|050|[[0.9.0]]|090|type=function}}
Returns the change in ball position.
== Function ==
=== Synopsis ===
<source lang="lua">
dx, dy = love.joystick.getBall( joystick, ball )
</source>
=== Arguments ===
{{param|number|joystick|The joystick to be checked}}
{{param|number|ball|The ball to be checked}}
=== Returns ===
{{param|number|dx|Change in x of the ball position.}}
{{param|number|dy|Change in y of the ball position.}}
== See Also ==
* [[parent::love.joystick]]
[[Category:Functions]]
{{#set:Description=Returns the change in ball position.}}
{{#set:Since=000}}
== Other Languages ==
{{i18n|love.joystick.getBall}}