# Gui in game object

**URL:** <https://forum.defold.com/t/gui-in-game-object/6550>\
**Category:** Questions\
**Created:** [March 20, 2017, 4:58pm UTC](https://forum.defold.com/t/gui-in-game-object/6550 "2017-03-20T16:58:03Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![britzl](https://forum-defold.b-cdn.net/user_avatar/forum.defold.com/britzl/32/23_2.png) [@britzl](https://forum.defold.com/u/britzl)\
**Post date:** [March 20, 2017, 5:07pm UTC](https://forum.defold.com/t/gui-in-game-object/6550/2 "2017-03-20T17:07:00Z")

</div>

Gui scenes are by default rendered in screen space and as you’ve already seen it completely ignores the position of the game object it is attached to. This can however be changed quite easily. [I have an example that shows how to do this.](https://github.com/britzl/publicexamples/tree/master/examples/gui_follows_go)

In the example I set the Adjust Mode of a gui scene from Per Node to Disable. I also change the material of the gui to have another predicate and [use the render script to renderthe gui in the world space](https://github.com/britzl/publicexamples/blob/master/examples/gui_follows_go/gui_follows_go.render_script#L35) of your game objects.

---

_[View the full topic](https://forum.defold.com/t/gui-in-game-object/6550)._
