# X & Y bounds are incorrect on objects nested within a Group

**URL:** <https://forums.creativeclouddeveloper.com/t/x-y-bounds-are-incorrect-on-objects-nested-within-a-group/602>\
**Category:** UXP Plugin API\
**Tags:** api-feedback\
**Created:** [January 30, 2019, 12:58pm UTC](https://forums.creativeclouddeveloper.com/t/x-y-bounds-are-incorrect-on-objects-nested-within-a-group/602 "2019-01-30T12:58:06Z")\
**Posts on this page:** 1\
**Showing post:** 16

<div class="post-metadata">

**Author:** ![Velara](https://sea1.discourse-cdn.com/flex015/user_avatar/forums.creativeclouddeveloper.com/velara/32/1278_2.png) [@Velara](https://forums.creativeclouddeveloper.com/u/Velara)\
**Post date:** [February 4, 2019, 9:26am UTC](https://forums.creativeclouddeveloper.com/t/x-y-bounds-are-incorrect-on-objects-nested-within-a-group/602/16 "2019-02-04T09:26:46Z")

</div>

The local bounds did not give me the values I was needing so I wrote a getBoundsInParent method posted [here](http://forums.creativeclouddeveloper.com/t/scenenode-moveto-method-relative-to-parent-node/588/4?u=velara).

The x and y value it returns are relative to the element’s container along with some other related properties.

---

_[View the full topic](https://forums.creativeclouddeveloper.com/t/x-y-bounds-are-incorrect-on-objects-nested-within-a-group/602)._
