# Need help to rotate an object

**URL:** <https://forum.inductiveautomation.com/t/need-help-to-rotate-an-object/9957>\
**Category:** Ignition\
**Created:** [April 25, 2015, 9:03am UTC](https://forum.inductiveautomation.com/t/need-help-to-rotate-an-object/9957 "2015-04-25T09:03:15Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![thierryv](https://avatars.discourse-cdn.com/v4/letter/t/a8b319/32.png) [@thierryv](https://forum.inductiveautomation.com/u/thierryv)\
**Post date:** [April 25, 2015, 9:03am UTC](https://forum.inductiveautomation.com/t/need-help-to-rotate-an-object/9957/1 "2015-04-25T09:03:15Z")

</div>

Hello,

I have an object that can rotate around a fixed center position.  
No problem to display that but the problem is that the object can also move further away from the center position. When I then rotate the object it rotates around its own center but it schould rotate around the fixed center position.

So I have the angle of the object and the distance from the center.

Attached are some examples of possible positions.

Any idea if and how I can do that in Ignition?

Thanks  
[Rotation.pdf](https://us1.discourse-cdn.com/inductiveautomation/original/2X/2/26a1b38d45d2c5d707c101ecefa8ec3f2df0fb5d.pdf) (2.98 KB)

---

<div class="post-metadata">

**Author:** ![glogue](https://avatars.discourse-cdn.com/v4/letter/g/9fc348/32.png) [@glogue](https://forum.inductiveautomation.com/u/glogue)\
**Post date:** [April 27, 2015, 6:05pm UTC](https://forum.inductiveautomation.com/t/need-help-to-rotate-an-object/9957/2 "2015-04-27T18:05:51Z")

</div>

If you place the two objects (circle and rectangle) like you want (EX, the third image) and group them, you can then use the angle of rotation of the group to rotate them.

---

<div class="post-metadata">

**Author:** ![greg.simpson](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/greg.simpson/32/3135_2.png) [@greg.simpson](https://forum.inductiveautomation.com/u/greg.simpson)\
**Post date:** [April 27, 2015, 8:27pm UTC](https://forum.inductiveautomation.com/t/need-help-to-rotate-an-object/9957/3 "2015-04-27T20:27:06Z")

</div>

+1 Grouping them will give both objects a shared center.
