Play animation

Play animation using commands

Tutorial to play animation

For this it is necessary that you have already created the animation with the tutorial How create first animation, once you have finished this tutorial now it is time to play it, with the command /kta animation play <gif> <title> <repeat> <tick-update> <player> , I have already created an animation called test which I will use for this occasion.

This example would be with the command /kta animation play test TITLE false 0 <player>

Explaining the arguments

Gif: is the name of the gif we create the animation.

Title or Actionbar: This is where the animation will be executed in the title or actionbar.

Repeat: This is a loop that can be true or false, if it is in true at the moment of finishing the animation it will reproduce itself again making a loop.

Tick Update: These are the ticks at which the animation will be triggered, the lower the number, the faster the animation will run.

Last updated