# I can't change the id of a gui node

**URL:** <https://forum.defold.com/t/i-cant-change-the-id-of-a-gui-node/69018>\
**Category:** Questions\
**Created:** [August 4, 2021, 1:05pm UTC](https://forum.defold.com/t/i-cant-change-the-id-of-a-gui-node/69018 "2021-08-04T13:05:29Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![maze.zte](https://forum-defold.b-cdn.net/user_avatar/forum.defold.com/maze.zte/32/23116_2.png) [@maze.zte](https://forum.defold.com/u/maze.zte)\
**Post date:** [August 4, 2021, 1:05pm UTC](https://forum.defold.com/t/i-cant-change-the-id-of-a-gui-node/69018/1 "2021-08-04T13:05:29Z")

</div>

Hi! I’ve been really busy and recently got some time, so I decided to take on a project and came back to Defold. It’s been almost half a year, there have been updates and now I don’t understand.  
First of all, why objects are highlighted in blue? Does it have any special meaning other than that they have been “modified”?  
Second, I can only change a gui node’s id the first time I create it. In the video I tried to show this.  
What am I doing wrong?

---

<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:** [August 4, 2021, 3:18pm UTC](https://forum.defold.com/t/i-cant-change-the-id-of-a-gui-node/69018/2 "2021-08-04T15:18:32Z")

</div>

> [@maze.zte](#):
>
> First of all, why objects are highlighted in blue? Does it have any special meaning other than that they have been “modified”

> [@maze.zte](#):
>
> Second, I can only change a gui node’s id the first time I create it. In the video I tried to show this.  
> What am I doing wrong?

It looks like you have multiple layouts in your GUI scene. Layouts are used to adjust a gui to different screens, for instance portrait vs landscape or different aspect ratios (very wide screens for instance). Learn more about layouts here:

> **[GUI layouts in Defold](https://defold.com/manuals/gui-layouts/#gui-layouts)**
>
> Defold supports GUIs that automatically adapt to screen orientation changes on mobile devices. By using this feature you can design GUIs that adapt to the orientation and aspect ratio of a range of screen sizes. It is also possible to create layouts...

---

<div class="post-metadata">

**Author:** ![maze.zte](https://forum-defold.b-cdn.net/user_avatar/forum.defold.com/maze.zte/32/23116_2.png) [@maze.zte](https://forum.defold.com/u/maze.zte)\
**Post date:** [August 4, 2021, 3:57pm UTC](https://forum.defold.com/t/i-cant-change-the-id-of-a-gui-node/69018/3 "2021-08-04T15:57:22Z")

</div>

Thank you very much indeed! After some thought, I realized that it’s easier to just resize the simulation in the code than to create a layout and make objects half-sized.
