# When to use self? When to use local?

**URL:** <https://forum.defold.com/t/when-to-use-self-when-to-use-local/2058>\
**Category:** Questions\
**Created:** [June 6, 2016, 5:03pm UTC](https://forum.defold.com/t/when-to-use-self-when-to-use-local/2058 "2016-06-06T17:03:55Z")\
**Posts on this page:** 1\
**Showing post:** 6

<div class="post-metadata">

**Author:** ![Ragnar\_Svensson](https://forum-defold.b-cdn.net/letter_avatar_proxy/v4/letter/r/b5ac83/32.png) [@Ragnar\_Svensson](https://forum.defold.com/u/Ragnar_Svensson)\
**Post date:** [June 7, 2016, 8:04am UTC](https://forum.defold.com/t/when-to-use-self-when-to-use-local/2058/6 "2016-06-07T08:04:22Z")

</div>

More info [Best practice: Local variable or go.property?](https://forum.defold.com/t/best-practice-local-variable-or-go-property/885)

---

_[View the full topic](https://forum.defold.com/t/when-to-use-self-when-to-use-local/2058)._
