AnimatedItem.animation.play method

play(self, track: str, start_time: float, end_time: float) -> None:

Plays an animation track on this item with defined startTime and endTime.

Parameters

  • track: str

    name of the animation.

  • start_time: float

    start of animation track.

  • end_time: float

    end of animation track.