Capítulo 52 de 411
getById() returns the Tween or Timeline inside this timeline that has the given id.
| Parameter | Type | Description |
|---|---|---|
id | String | the id set in the child's vars at creation |
Returns: Animation (Tween or Timeline).
tl.to(box, { id: "boxMove", x: 100 });
tl.getById("boxMove").pause();