anim_get_parent

Syntax:

anim_get_parent(anim);
Argument name Type Description
anim Animation The animation

Returns: (real) The Animation's parent timeline

Description:

Returns the parent tweenline of a given anim (tween or tweenline). If the anim has no parent, it returns undefined.

An Animation instance cannot exist in multiple timelines at once.