# Animation svg problem

**URL:** <https://discourse.nodered.org/t/animation-svg-problem/62683>\
**Category:** Dashboard\
**Tags:** node-red-dashboard\
**Created:** [16 May 2022 09:42 UTC](https://discourse.nodered.org/t/animation-svg-problem/62683 "2022-05-16T09:42:33Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![bilel](https://avatars.discourse-cdn.com/v4/letter/b/f0a364/32.png) [@bilel](https://discourse.nodered.org/u/bilel)\
**Post date:** [16 May 2022 09:42 UTC](https://discourse.nodered.org/t/animation-svg-problem/62683/1 "2022-05-16T09:42:33Z")

</div>

I want to make an injection node that can rotate ventilateur but nothing happened

 ![Capture d’écran 2022-05-16 121352](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/4/c/4cf739d2acd89678fbabc3c399208cf0b516b805.png)  
 ![Capture d’écran 2022-05-16 103916](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/5/0/5036f2d303c707122002c401d74ac2bd32b3613f.png)  
 ![Capture d’écran 2022-05-16 103831](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/e/e/ee4c49353a664a7309b137a9da7aea8d4472646a.png)

---

<div class="post-metadata">

**Author:** ![Steve-Mcl](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/steve-mcl/32/4826_2.png) [@Steve-Mcl](https://discourse.nodered.org/u/Steve-Mcl)\
**Post date:** [16 May 2022 10:44 UTC](https://discourse.nodered.org/t/animation-svg-problem/62683/2 "2022-05-16T10:44:50Z")

</div>

Did you add an animation called `"ventilateur"` to be triggered?

Also, did you read the docs or the built in help or search the forum? - I ask because that command is not correct. The correct format of the `trigger_animation` command is ...

```auto
{ 
  "command":"trigger_animation",
  "selector":"#id_of_my_animation",
  "action":"start"
}

```

See docs here: [Home · bartbutenaers/node-red-contrib-ui-svg Wiki · GitHub](https://github.com/bartbutenaers/node-red-contrib-ui-svg/wiki/)

See an example on the forum here: [UI-SVG ANIMATION by MESSAGE - #3 by BartButenaers](https://discourse.nodered.org/t/ui-svg-animation-by-message/57786/3)

---

<div class="post-metadata">

**Author:** ![bilel](https://avatars.discourse-cdn.com/v4/letter/b/f0a364/32.png) [@bilel](https://discourse.nodered.org/u/bilel)\
**Post date:** [16 May 2022 11:15 UTC](https://discourse.nodered.org/t/animation-svg-problem/62683/3 "2022-05-16T11:15:05Z")

</div>

![Capture d’écran 2022-05-16 121352](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/4/c/4cf739d2acd89678fbabc3c399208cf0b516b805.png)  
but nothing happned

---

<div class="post-metadata">

**Author:** ![BartButenaers](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/bartbutenaers/32/10476_2.png) [@BartButenaers](https://discourse.nodered.org/u/BartButenaers)\
**Post date:** [16 May 2022 16:44 UTC](https://discourse.nodered.org/t/animation-svg-problem/62683/4 "2022-05-16T16:44:57Z")

</div>

@bilel,  
Can you please answer the above question from @Steve-Mcl: _"Did you add an animation called `"ventilateur"` to be triggered"_.

We cannot help you to find out why your animation isn't triggered, if you don't share information about your animation.

If you want, you can also export this part from your flow, and share it here.  
Bart

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/1X/d073cd938eafa2e558d7c2cd59003b3ef4963033.png) [@system](https://discourse.nodered.org/u/system)\
**Post date:** [15 June 2022 16:45 UTC](https://discourse.nodered.org/t/animation-svg-problem/62683/5 "2022-06-15T16:45:23Z")

</div>

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
