# Best way to trigger animation attribute of custom svg in perspective

**URL:** <https://forum.inductiveautomation.com/t/best-way-to-trigger-animation-attribute-of-custom-svg-in-perspective/93203>\
**Category:** Ignition\
**Tags:** perspective\
**Created:** [July 15, 2024, 1:48am UTC](https://forum.inductiveautomation.com/t/best-way-to-trigger-animation-attribute-of-custom-svg-in-perspective/93203 "2024-07-15T01:48:59Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Malhar\_Khairnar](https://avatars.discourse-cdn.com/v4/letter/m/e0b2c6/32.png) [@Malhar\_Khairnar](https://forum.inductiveautomation.com/u/Malhar_Khairnar)\
**Post date:** [July 15, 2024, 1:48am UTC](https://forum.inductiveautomation.com/t/best-way-to-trigger-animation-attribute-of-custom-svg-in-perspective/93203/1 "2024-07-15T01:48:59Z")

</div>

I have created a custom svg using Inkscape. I edited the svg file and added transform animation. I want to trigger the animation attribute inside the perspective using tags. What will be the best way to do it? Suppose I have this following svg where a rectangle is moving linearly.`

```python
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!-- Created with Inkscape (http://www.inkscape.org/) -->

<svg width="800" height="600" xmlns="http://www.w3.org/2000/svg">
  <path
           id="rect1"
           style="display:inline;fill:#000000;stroke:#000000;stroke-width:0.311317"
           d="M -34.880352,3.1103516 H 167.58835 V 75.414421 H -34.880352 Z" />
		   <animateTransform
				attributeName="transform"
				begin="0s"
				dur="20s"
				from="M -34.880352,3.1103516 H 167.58835 V 75.414421 H -34.880352 Z"
				to="190"
				repeatCount="indefinite" />
</svg>

```

---

<div class="post-metadata">

**Author:** ![jlandwerlen](https://avatars.discourse-cdn.com/v4/letter/j/bc8723/32.png) [@jlandwerlen](https://forum.inductiveautomation.com/u/jlandwerlen)\
**Post date:** [July 15, 2024, 2:00am UTC](https://forum.inductiveautomation.com/t/best-way-to-trigger-animation-attribute-of-custom-svg-in-perspective/93203/2 "2024-07-15T02:00:57Z")

</div>

There is already quite a bit of information on this forum for this topic.

Perhaps look through these for help first.  
[https://forum.inductiveautomation.com/search?q=Perspective%20animation%20%20order%3Alatest](https://forum.inductiveautomation.com/search?q=Perspective%20animation%20%20order%3Alatest)
