> For the complete documentation index, see [llms.txt](https://docs.gercstudio.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.gercstudio.com/weapons/weapon-controller/animations/animated-weapons.md).

# Animated Weapons

You can use animated weapons with the USK.

{% hint style="info" %}
**Important!**

To all parts of a weapon are animated, a path (in the character’s skeleton) to the weapon in an animation must correspond to the path to the weapon in the game - like in Generic Animations.

**For Example:**

You've created an animation - character with a pistol. In the animation your character bones have the struct:&#x20;

Hips -> Spine -> Spine1 -> ...

If you use this animation with another character which has different bone names or struct (swat:Hips -> swat:Spine -> swat:Spine1 -> ...), the pistol won't be animated during the game.
{% endhint %}

To add animations with animated weapons do the following:

* **Import an empty animation with all weapons in the root** (for example, T-Pose animation).

![](/files/-M0qyQiazyarr5P62axx)

* **Create the Avatar Mask** with this animation avatar.

![](/files/-M0r5ononkyoQCuQ3gLl)

* Make sure that all animated weapons and their parts are selected in the mask

![](/files/-M0r68GtL3PCabdOpLp0)

* **Add the mask to weapons animations**. In each animation which contains an animated weapon, you must add the mask which you created before

![](/files/-M0r6sCtcUf7bwqCg3F3)

* **Adjust the main Masks** (Tools -> Assets -> \_Masks -> **BodyTop** **(tp,td)** & **BodyTop (fp)**) with the T-Pose avatar (which you've imported in the 1st step). Select in the masks only animated weapons parts.

![](/files/-M0r7TTKQLFJ46isHqmy)

#### Watch the video with an example of adding animations:

{% embed url="<https://youtu.be/wj9N1qC96IA>" %}

To learn how to synchronize animations with the player’s actions (for example, the spawn of magazines when reloading), read this page:

{% content-ref url="/pages/-M0na49egEhakjo7TCaG" %}
[Animation Events](/other-components/events.md)
{% endcontent-ref %}
