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%2F1022067277-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252F8zAFV2tZ9EL5TcR6W3RE%252Fuploads%252Fb5OMcV6gU5HuHp8yd0zE%252Fimage.png%3Falt%3Dmedia%26token%3Df4279438-ebaa-4a06-8355-3d191cc98864&width=768&dpr=4&quality=100&sign=350bb4b5&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%2F1022067277-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252F8zAFV2tZ9EL5TcR6W3RE%252Fuploads%252Fm7c1heie2zfYf8tB8E9m%252Fimage.png%3Falt%3Dmedia%26token%3Dbd1ffd39-3460-4b59-af98-745bec6011db&width=768&dpr=4&quality=100&sign=3364564d&sv=1)
Right click it and mark it as Loop
.
![](https://itemsadder.devs.beer/~gitbook/image?url=https%3A%2F%2F1022067277-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252F8zAFV2tZ9EL5TcR6W3RE%252Fuploads%252FHKGCjHoxKV0JUldcMR6c%252Fimage.png%3Falt%3Dmedia%26token%3De1540779-f7d5-4298-a528-90908403307c&width=768&dpr=4&quality=100&sign=5d334f46&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%2F1022067277-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252F8zAFV2tZ9EL5TcR6W3RE%252Fuploads%252F2FRh1ljCP12g5yJEqu52%252Fimage.png%3Falt%3Dmedia%26token%3De1e0a712-b497-4ef4-9f83-66114bd5e457&width=768&dpr=4&quality=100&sign=3baa8c87&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%2F1022067277-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252F8zAFV2tZ9EL5TcR6W3RE%252Fuploads%252FcgALlLlUatxf2oFwtKTr%252Fimage.png%3Falt%3Dmedia%26token%3D1223a658-c109-4bc5-944c-6ae246c01e80&width=768&dpr=4&quality=100&sign=87e3ebe8&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%2F1022067277-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252F8zAFV2tZ9EL5TcR6W3RE%252Fuploads%252F6XZI2I9MUgV5UZ5iICmJ%252Fimage.png%3Falt%3Dmedia%26token%3D5c9f3932-594e-4843-9b8e-94ec19adb1d9&width=768&dpr=4&quality=100&sign=9193eb&sv=1)
The result will be like this:
![](https://itemsadder.devs.beer/~gitbook/image?url=https%3A%2F%2F1022067277-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252F8zAFV2tZ9EL5TcR6W3RE%252Fuploads%252FTZPllApyc6D9hfdZ6I7C%252Fimage.png%3Falt%3Dmedia%26token%3D7dc04478-f97e-40ab-ab93-07612b2ecabc&width=768&dpr=4&quality=100&sign=bf267ceb&sv=1)
Last updated