# Move items programattically

**URL:** <https://forum.inductiveautomation.com/t/move-items-programattically/6199>\
**Category:** Ignition\
**Created:** [April 10, 2013, 2:53pm UTC](https://forum.inductiveautomation.com/t/move-items-programattically/6199 "2013-04-10T14:53:44Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![jamess](https://avatars.discourse-cdn.com/v4/letter/j/87869e/32.png) [@jamess](https://forum.inductiveautomation.com/u/jamess)\
**Post date:** [April 10, 2013, 2:53pm UTC](https://forum.inductiveautomation.com/t/move-items-programattically/6199/1 "2013-04-10T14:53:44Z")

</div>

Make X and Y positions available as properties for:

```
 Picture/Image objects
 Groups

```

This would allow for significantly-improved animation options.

---

<div class="post-metadata">

**Author:** ![jamess](https://avatars.discourse-cdn.com/v4/letter/j/87869e/32.png) [@jamess](https://forum.inductiveautomation.com/u/jamess)\
**Post date:** [April 19, 2013, 6:52pm UTC](https://forum.inductiveautomation.com/t/move-items-programattically/6199/2 "2013-04-19T18:52:14Z")

</div>

Derrr… Figured out how to do this without any changes to Ignition.

😊

---

<div class="post-metadata">

**Author:** ![zxcslo](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/zxcslo/32/61610_2.png) [@zxcslo](https://forum.inductiveautomation.com/u/zxcslo)\
**Post date:** [April 19, 2013, 7:24pm UTC](https://forum.inductiveautomation.com/t/move-items-programattically/6199/3 "2013-04-19T19:24:58Z")

</div>

Would you like to share? 😐

---

<div class="post-metadata">

**Author:** ![jamess](https://avatars.discourse-cdn.com/v4/letter/j/87869e/32.png) [@jamess](https://forum.inductiveautomation.com/u/jamess)\
**Post date:** [June 10, 2013, 6:05pm UTC](https://forum.inductiveautomation.com/t/move-items-programattically/6199/4 "2013-06-10T18:05:43Z")

</div>

Sorry, zxcslo, I missed your reply for a couple of months. 😮

Anyway, IA cleverly hid the answer in the Quick Start guide. I originally expected X, Y positioning to always show up in the Property Editor. It’s not quite that simple, but still possible. Here’s the method:

[color=#0000FF]system.gui.moveComponent[/color]

[color=#0000FF]Description

Alter’s a components position to a new pair of coordinates, (x,y), a point relative to the upper-left corner of the component’s parent. Note that when using relative layout, these coordinates are evaluated as if the component’s size was the same size as the last time the component was saved in the Designer. This effectively means that your argument coordinates will automatically scale with relative layout.[/color]
