loop

@NotNull
open fun loop(): @NotNull AnimationIterator.Type

Returns the loop mode of the animation.

Return

the loop mode, defaulting to PLAY_ONCE if null

Since

1.15.2