# Animated notifications

{% hint style="success" %}
You have the option to add an animation to the notifications. You can choose from four animations, or select none. Animations are applied using the trigger below.
{% endhint %}

via this trigger

## Serveur

```lua
    TriggerClientEvent('pnotifv2:sendNotification', -1, {
        message = message,
        title = title,
        type = 'server',
        animation = 'pulse', -- You can set the animation of your choice here. Available options are: pulse, bounce, flash, and shake. If you don’t want any animation, simply remove this line.
        duration = 8000
    })
```

## Client&#x20;

```
TriggerEvent('pnotifv2:sendNotification', {
    message = message,
    title = title,
    type = 'server', 
    animation = 'pulse', -- You can set the animation of your choice here. Available options are: pulse, bounce, flash, and shake. If you don’t want any animation, simply remove this line.
    duration = 8000
})

```
