setAnimationPlayhead
Sets the playhead of an animation to a specific percentage of completion, 0 -> 100
.
Parameters
Description
Type
animationName
Name of the animation we want to change its playhead’s position.
string
percentage
Must be from 0
to 100
. Where 0
is at the beginning of the animation and 100
at the end.
number
Usage:
Last updated