> For the complete documentation index, see [llms.txt](https://fivem.lvsoft.com.ar/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://fivem.lvsoft.com.ar/standalone/lvs-animations/adding-animations.md).

# Adding Animations

### Animation Template

```lua
["name"] = {
    label = "Label",
    category = "main",
    animDict = animDictionary --[[ string ]],
    animName = animationName --[[ string ]],
    animFlag = flag --[[ integer ]]
},
```

***

### Scenario Template

```lua
["name"] = {
    label = "Label", 
    category = "main", 
    scenario = scenarioName --[[ string ]]
},
```

{% hint style="info" %}
List of scenarioNames: pastebin.com/6mrYTdQv
{% endhint %}

***

### Animation with prop Template

```lua
["name"] = {
    category = "prop",
    label = "Label",
    animDict = animDictionary --[[ string ]],
    animName = animationName --[[ string ]],
    animFlag = flag --[[ integer ]],
    bone = boneIndex --[[ integer ]],
    prop = model --[[ string ]],
    propPos = {xPos --[[ number ]], yPos --[[ number ]],  zPos --[[ number ]],  xRot --[[ number ]],  yRot --[[ number ]],  zRot --[[ number ]],}
},
```
