# Move component base coordinate from top left to bottom left?

**URL:** <https://forum.inductiveautomation.com/t/move-component-base-coordinate-from-top-left-to-bottom-left/44639>\
**Category:** Ignition\
**Tags:** vision\
**Created:** [March 18, 2021, 4:33pm UTC](https://forum.inductiveautomation.com/t/move-component-base-coordinate-from-top-left-to-bottom-left/44639 "2021-03-18T16:33:19Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![david.smith](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/david.smith/32/19391_2.png) [@david.smith](https://forum.inductiveautomation.com/u/david.smith)\
**Post date:** [March 18, 2021, 4:33pm UTC](https://forum.inductiveautomation.com/t/move-component-base-coordinate-from-top-left-to-bottom-left/44639/1 "2021-03-18T16:33:19Z")

</div>

Is it possible to move the base coordinates (0,0) from the top left of a container to the bottom left?

---

<div class="post-metadata">

**Author:** ![lrose](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/lrose/32/62724_2.png) [@lrose](https://forum.inductiveautomation.com/u/lrose)\
**Post date:** [March 18, 2021, 4:49pm UTC](https://forum.inductiveautomation.com/t/move-component-base-coordinate-from-top-left-to-bottom-left/44639/2 "2021-03-18T16:49:57Z")

</div>

My first question is why?

---

<div class="post-metadata">

**Author:** ![david.smith](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/david.smith/32/19391_2.png) [@david.smith](https://forum.inductiveautomation.com/u/david.smith)\
**Post date:** [March 18, 2021, 4:55pm UTC](https://forum.inductiveautomation.com/t/move-component-base-coordinate-from-top-left-to-bottom-left/44639/3 "2021-03-18T16:55:29Z")

</div>

I have components that will be resized and displayed on an HMI depending on tag values (i.e. Height and Width). There are 6 components starting with the left that the sizing shifts from the left to right where the left component could start at 12 x 8 which would then shift to the right and the next size of the left component could be 16 x 12.

---

<div class="post-metadata">

**Author:** ![WillMT10](https://avatars.discourse-cdn.com/v4/letter/w/7feea3/32.png) [@WillMT10](https://forum.inductiveautomation.com/u/WillMT10)\
**Post date:** [March 18, 2021, 6:05pm UTC](https://forum.inductiveautomation.com/t/move-component-base-coordinate-from-top-left-to-bottom-left/44639/4 "2021-03-18T18:05:43Z")

</div>

I’m not aware of anything that allows you to move the reference point. I don’t know that I fully understand what you are trying to accomplish, but it sounds like you are trying to keep the bottom edge of all components, in a container, “glued” to the bottom of the container, regardless of component height. If that is the case, get the container height (`.size.height`) and subtract the height of the component from the container height to get your y position for the respective component’s top left corner.
