Jump to content
GreenSock

VelocityTracker.isTracking()

VelocityTracker.isTracking( target:Object, prop:String ) : Boolean

[static] Allows you to discern whether the velocity of a particular target or one of its properties is being tracked (typically initiated using the VelocityTracker.track() method).

Parameters

target: Object

The target object

prop: String

(default = null) — the name of the property to check, like "x" or "y".

 

Returns : Boolean

true if the target/property is being tracked, false if not.

 

Details

Allows you to discern whether the velocity of a particular target or one of its properties is being tracked (typically initiated using the VelocityTracker.track() method).

Copyright 2017, GreenSock. All rights reserved. This work is subject to theterms of useor for Club GreenSock members, the software agreement that was issued with the membership.
×