# 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.

{% embed url="<https://www.youtube.com/results?search_query=blockbench+animation+tutorial>" %}

## Lock the player movement

You can specify if the player can move while playing one specific animation or not.

![](/files/vvVYoSC8XDt0FWh8y4qI)

## 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.

![](/files/EK96ioxttb2HHVBAhwWm)

Right click it and mark it as `Loop`.

![](/files/6pFlLb2COAO9YmIb9eCs)

### 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.

![](/files/U5r13hPTCtEn0Lsn6MtC)

### Step 3

Click on the `Add Loop Start/End marker` icon to add a `start loop` marker.

![](/files/OC0KbpkaefTWzDAfErv7)

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.

![](/files/jRmhfsvodhd3qLj4glpy)

The result will be like this:

![](/files/QQnGHLdHB29guwopWKEx)


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://itemsadder.devs.beer/japanese/plugin-usage/adding-content/player-emotes/animations.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
