Capítulo 83 de 411
shiftChildren() moves every child's startTime by a given amount, optionally shifting labels too.
| Parameter | Type | Description |
|---|---|---|
amount | Number | seconds (or frames) to shift each child by |
adjustLabels | Boolean | whether labels shift too |
ignoreBeforeTime | Number | skip children starting before this time |
tl.shiftChildren(2, true); // push everything 2s later, labels included