Classes

developer »

gameProject »

pedestrianController »

playerPlatform »

punishment »

team »

Concepts

Libraries

Objects

getTraveledDistance

Description

Returns the total traveled distance on each axis since grabbing the screen with the mouse and moving away.

Returns

1 number

travelX-the total traveled distance on the X axis.

2 number

travelY-the total traveled distance on the Y axis.

Example

local travelX, travelY = camera:getTraveledDistance()