Jump to content
GreenSock

VelocityTracker

.isTrackingProp()

.isTrackingProp( prop:String ) : Boolean

Allows you to discern whether the velocity of a particular property is being tracked.

Parameters

prop: String

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 property is being tracked.

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.
×