Returns the total traveled distance on each axis since grabbing the screen with the mouse and moving away.
Returns the total traveled distance on each axis since grabbing the screen with the mouse and moving away.
1 number
travelX-the total traveled distance on the X axis.
2 number
travelY-the total traveled distance on the Y axis.
local travelX, travelY = camera:getTraveledDistance()