# Script for rotating templates

**URL:** <https://forum.inductiveautomation.com/t/script-for-rotating-templates/12576>\
**Category:** Ignition\
**Created:** [January 19, 2017, 10:29am UTC](https://forum.inductiveautomation.com/t/script-for-rotating-templates/12576 "2017-01-19T10:29:39Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Mmacerl](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/mmacerl/32/4024_2.png) [@Mmacerl](https://forum.inductiveautomation.com/u/Mmacerl)\
**Post date:** [January 19, 2017, 10:29am UTC](https://forum.inductiveautomation.com/t/script-for-rotating-templates/12576/1 "2017-01-19T10:29:39Z")

</div>

I am using something similar to [Drag and Drop Ignition Templates on the Template Canvas](http://nickmudge.info/post/drag-and-drop-Ignition-templates-on-the-template-canvas) and I implemented new features like resizing. Now I would like to implement a function to rotate those templates like you can rotate elements in the ignition designer. If someone have an advice or can point me to the right direction.  
Thank you for your answer.

---

<div class="post-metadata">

**Author:** ![adam.morales](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/adam.morales/32/3405_2.png) [@adam.morales](https://forum.inductiveautomation.com/u/adam.morales)\
**Post date:** [February 1, 2017, 1:02am UTC](https://forum.inductiveautomation.com/t/script-for-rotating-templates/12576/2 "2017-02-01T01:02:07Z")

</div>

Unfortunately, most components cannot be rotated in Ignition at this time due to some limitations of Java swing.
