Jump to content
GreenSock

VelocityTracker

.getVelocity()

.getVelocity( prop:String ) : Number

Returns the current velocity of the given property.

Parameters

prop: String

Property name (like "x")

 

Returns : Number

The current velocity

Details

Returns the current velocity of the given property.

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