love.joystick.getBall

Returns the change in Ball position.

Function

Synopsis

dx, dy = love.joystick.getBall( )

Arguments

None.

Returns

number dx
Change in x of the ball position.
number dy
Change in y of the ball position.

See Also