# Writing to rootcontainer custom property from custom method

**URL:** <https://forum.inductiveautomation.com/t/writing-to-rootcontainer-custom-property-from-custom-method/59481>\
**Category:** Ignition\
**Tags:** ignition79\
**Created:** [May 11, 2022, 10:10pm UTC](https://forum.inductiveautomation.com/t/writing-to-rootcontainer-custom-property-from-custom-method/59481 "2022-05-11T22:10:52Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![michael.ruel](https://avatars.discourse-cdn.com/v4/letter/m/ecd19e/32.png) [@michael.ruel](https://forum.inductiveautomation.com/u/michael.ruel)\
**Post date:** [May 11, 2022, 10:10pm UTC](https://forum.inductiveautomation.com/t/writing-to-rootcontainer-custom-property-from-custom-method/59481/1 "2022-05-11T22:10:52Z")

</div>

What I want to know is if I’m using the self.xxx on a custom method on the root container is that referring to the root container properties/components. If you happen to use a custom method to call other custom methods and still referring to self.xxx is that the same or do I need to pass the event through everything so the reference to the root container is maintained.

---

<div class="post-metadata">

**Author:** ![paul-griffith](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/paul-griffith/32/37249_2.png) [@paul-griffith](https://forum.inductiveautomation.com/u/paul-griffith)\
**Post date:** [May 11, 2022, 10:27pm UTC](https://forum.inductiveautomation.com/t/writing-to-rootcontainer-custom-property-from-custom-method/59481/2 "2022-05-11T22:27:49Z")

</div>

`self` is a true reference to the actual component. If you have a reference to `self`, you don’t need to pass any additional reference around.
