# Using nested go in go file

**URL:** <https://forum.defold.com/t/using-nested-go-in-go-file/36563>\
**Category:** Feature requests (USE GITHUB)\
**Created:** [December 2, 2018, 8:51pm UTC](https://forum.defold.com/t/using-nested-go-in-go-file/36563 "2018-12-02T20:51:14Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![dapetcu21](https://forum-defold.b-cdn.net/user_avatar/forum.defold.com/dapetcu21/32/25120_2.png) [@dapetcu21](https://forum.defold.com/u/dapetcu21)\
**Post date:** [December 2, 2018, 9:28pm UTC](https://forum.defold.com/t/using-nested-go-in-go-file/36563/2 "2018-12-02T21:28:12Z")

</div>

I would rather advocate for allowing you to parent collections to game objects, but I really think this would make collections more useful (and intuitive).

I discussed a bit about this in this thread:

> [@Thoughts on using collections as prefabs](https://forum.defold.com/t/thoughts-on-using-collections-as-prefabs/36341):
>
> Random feedback while working with the editor: Because i cannot edit the scale of a sprite in the editor, I’m forced to wrap it in a game object. But! I’d like to work on a “prefab” game object and then instantiate it multiple times in my root collection (during scene design, not at runtime). I’m currently having two problems when trying to use a collection as a prefab: I’m trying to change the Default Animation (or any component property) of a sprite component in one instance of my prefab co…

---

_[View the full topic](https://forum.defold.com/t/using-nested-go-in-go-file/36563)._
