# Ignition Expression "this" Component

**URL:** <https://forum.inductiveautomation.com/t/ignition-expression-this-component/61810>\
**Category:** Ignition\
**Tags:** ignition81, vision\
**Created:** [July 12, 2022, 5:20pm UTC](https://forum.inductiveautomation.com/t/ignition-expression-this-component/61810 "2022-07-12T17:20:52Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![amarks](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/amarks/32/45610_2.png) [@amarks](https://forum.inductiveautomation.com/u/amarks)\
**Post date:** [July 12, 2022, 5:20pm UTC](https://forum.inductiveautomation.com/t/ignition-expression-this-component/61810/1 "2022-07-12T17:20:53Z")

</div>

Is there a way to have a component binding’s expression reference it’s own properties without specifying the full path to the specific component through the root container?

For instance, if I have a custom property on a button called `code`, how would I access the property as essentially `{this.code}` instead of `{Root Container.Button1.code}` so I can copy-paste the button without having to change the binding?

---

<div class="post-metadata">

**Author:** ![pturmel](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/pturmel/32/3295_2.png) [@pturmel](https://forum.inductiveautomation.com/u/pturmel)\
**Post date:** [July 12, 2022, 5:26pm UTC](https://forum.inductiveautomation.com/t/ignition-expression-this-component/61810/2 "2022-07-12T17:26:18Z")

</div>

Copy and paste of components in the designer updates such references for you. Otherwise, nada.

Strictly speaking, a function or method called from `runScript()` can reference properties via `self`, but not as bindings. Similarly, a one-liner in `objectScript()` can do the same via `binding.target`.
