Tile - YAnimators - Set Position Animator – Ylands

From Bohemia Interactive Community
Jump to navigation Jump to search

Set Position Animator(Object, Position animator, Time offset)

YlandsTile-597.png

static setPositionAnimator(obj: YEntity | YLogic | YGroup, positionAnimator: YPositionAnimator, timeOffset: number): void;

Parameters

obj

positionAnimator

timeOffset

Description

Sets the position animator of the object.