> ## Documentation Index
> Fetch the complete documentation index at: https://docs.vorp-core.com/llms.txt
> Use this file to discover all available pages before exploring further.

# animations

> this script allows you to set up premade animations to use in your scripts

<Note>Client side</Note>

Initiate the animations export

```lua theme={null}
local Animations = exports.vorp_animations.initiate()
```

Play Animation

```lua theme={null}
Animations.playAnimation('campfire', 2000)
```

Stop Animation

```lua theme={null}
Animations.endAnimation('campfire')
```

Start Animation indefinitely

```lua theme={null}
Animations.startAnimation('campfire')
```

to activate in game , set in config to `devmode true` and use the command `/startanimation campfire` , the ui will allow you to adjust the animation so you can add them to config files
