Optional
actionOptional
chainChain the animation to the existing one of the same name? Default: false
.
Optional
durationThe duration of the animation in milliseconds (nonnegative). Default: automatic (determined by foundry.canvas.placeables.Token#_getAnimationDuration, which returns 1000 by default unless it's a movement animation).
Optional
easingThe easing function of the animation.
Default: undefined
(linear).
Optional
movementA desired base movement speed in grid size per second (positive),
which determines the duration
if the given duration
is undefined and
either x
, y
, width
, height
, or rotation
is animated.
Default: automatic (determined by
foundry.canvas.placeables.Token#_getAnimationMovementSpeed).
Optional
nameThe name of the animation, or null if nameless. Default: foundry.canvas.placeables.Token#animationName.
Optional
ontickAn on-tick callback.
Optional
terrainThe terrain data. Default: null
.
Optional
transitionThe desired texture transition type.
Default: automatic (determined by
foundry.canvas.placeables.Token#_getAnimationTransition,
which returns "fade"
by default).
The movement action. Default:
this.document.movementAction
.