Jump to content
GreenSock

Search In
  • More options...
Find results that contain...
Find results in...

ThrowPropsPlugin.untrack()

ThrowPropsPlugin.untrack( target:Object, props:String ) :

[static] Stops tracking the velocity of certain properties (or all properties of an object), like ones initiated with the track() method.

Parameters

target: Object

the target object whose properties should stop being tracked

props: String

(default = null) — a comma-delimited list of properties to stop tracking. If null, ALL properties of the target will stop being tracked.

 

Details

Stops tracking the velocity of certain properties (or all properties of an object), like ones initiated with the track() method.

//starts tracking "x" and "y":
ThrowPropsPlugin.track(obj, "x,y");

//stops tracking only the "x" property:
ThrowPropsPlugin.untrack(obj, "x");

//stops tracking "x" and "y":
ThrowPropsPlugin.untrack(obj, "x,y");

//stops tracking all properties of obj:
ThrowPropsPlugin.untrack(obj);
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.
×