Animations
How to create an animation
You can animate your models normally, like you would do with normal Blockbench models. You can find a lot of tutorials on YouTube.
Lock the player movement
You can specify if the player can move while playing one specific animation or not.
![](https://itemsadder.devs.beer/~gitbook/image?url=https%3A%2F%2F1052869119-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252F5WZMZPWMJbwGKAiRojzu%252Fuploads%252F41eTwfAMmu9av3AjTrzi%252Fimage.png%3Falt%3Dmedia%26token%3Df4279438-ebaa-4a06-8355-3d191cc98864&width=768&dpr=4&quality=100&sign=f92c7f49&sv=1)
Looping animations
You can create animations which would play start
-> loop
-> end
sub-animation.
This allows you to create complex looping animations, for example a sleep animation where your player would lay and stay there until the player presses SHIFT.
Step 1
Create the animation, in this example a death animation.
![](https://itemsadder.devs.beer/~gitbook/image?url=https%3A%2F%2F1052869119-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252F5WZMZPWMJbwGKAiRojzu%252Fuploads%252FcUKtFh5U93g5a7rqDR4M%252Fimage.png%3Falt%3Dmedia%26token%3Dbd1ffd39-3460-4b59-af98-745bec6011db&width=768&dpr=4&quality=100&sign=283b17c1&sv=1)
Right click it and mark it as Loop
.
![](https://itemsadder.devs.beer/~gitbook/image?url=https%3A%2F%2F1052869119-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252F5WZMZPWMJbwGKAiRojzu%252Fuploads%252Fl86HmgNSKRbnJZRgyzVG%252Fimage.png%3Falt%3Dmedia%26token%3De1540779-f7d5-4298-a528-90908403307c&width=768&dpr=4&quality=100&sign=3e5294a2&sv=1)
Step 2
Now place the cursor on the frame where you want the loop to start, in this case when the player is on the ground.
![](https://itemsadder.devs.beer/~gitbook/image?url=https%3A%2F%2F1052869119-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252F5WZMZPWMJbwGKAiRojzu%252Fuploads%252F8DDbhZwkouEsUCfpgKyc%252Fimage.png%3Falt%3Dmedia%26token%3De1e0a712-b497-4ef4-9f83-66114bd5e457&width=768&dpr=4&quality=100&sign=ef6e68e9&sv=1)
Step 3
Click on the Add Loop Start/End marker
icon to add a start loop
marker.
![](https://itemsadder.devs.beer/~gitbook/image?url=https%3A%2F%2F1052869119-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252F5WZMZPWMJbwGKAiRojzu%252Fuploads%252FmyQxgHOauPevhLu6vJpx%252Fimage.png%3Falt%3Dmedia%26token%3D1223a658-c109-4bc5-944c-6ae246c01e80&width=768&dpr=4&quality=100&sign=d19b24c3&sv=1)
Now place the animation cursor on the frame where you want the loop to stop and press again on the Add Loop Start/End marker
icon.
![](https://itemsadder.devs.beer/~gitbook/image?url=https%3A%2F%2F1052869119-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252F5WZMZPWMJbwGKAiRojzu%252Fuploads%252FgyFBlUkHK7Mb6Y1rQpIy%252Fimage.png%3Falt%3Dmedia%26token%3D5c9f3932-594e-4843-9b8e-94ec19adb1d9&width=768&dpr=4&quality=100&sign=42037eca&sv=1)
The result will be like this:
![](https://itemsadder.devs.beer/~gitbook/image?url=https%3A%2F%2F1052869119-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252F5WZMZPWMJbwGKAiRojzu%252Fuploads%252F2zwNW11TaTt3A1uFKedy%252Fimage.png%3Falt%3Dmedia%26token%3D7dc04478-f97e-40ab-ab93-07612b2ecabc&width=768&dpr=4&quality=100&sign=681e3cb8&sv=1)
Last updated