# \[SOLVED\]\[1.14.0\] - Making Progress With 1st Game...How To Make GUI Go Below Scene Fading Sprite? (SOLVED)

**URL:** <https://forum.defold.com/t/solved-1-14-0-making-progress-with-1st-game-how-to-make-gui-go-below-scene-fading-sprite-solved/83398>\
**Category:** Questions\
**Created:** [October 29, 2026, 2:01pm UTC](https://forum.defold.com/t/solved-1-14-0-making-progress-with-1st-game-how-to-make-gui-go-below-scene-fading-sprite-solved/83398 "2026-10-29T14:01:14Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![savantsavior](https://forum-defold.b-cdn.net/user_avatar/forum.defold.com/savantsavior/32/39987_2.png) [@savantsavior](https://forum.defold.com/u/savantsavior)\
**Post date:** [October 29, 2026, 2:01pm UTC](https://forum.defold.com/t/solved-1-14-0-making-progress-with-1st-game-how-to-make-gui-go-below-scene-fading-sprite-solved/83398/1 "2026-10-29T14:01:14Z")

</div>

Hi,

New to Defold Engine…  
How do we make a GUI go below our scene fading sprite?

Please look at Web HTML5 version on itch site below to see issue on third scene.  
(game project is MIT open-source and the full project can be downloaded below on itch site)  
Any help would be appreciated, thank you.

Savant Savior

> **[Project0-Defold by Team: JeZxLee](https://teamjezxlee.itch.io/project0-defold)**
>
> W.I.P. First video game made with Defold Engine...

---

<div class="post-metadata">

**Author:** ![Pawel](https://forum-defold.b-cdn.net/user_avatar/forum.defold.com/pawel/32/24623_2.png) [@Pawel](https://forum.defold.com/u/Pawel)\
**Post date:** [October 29, 2026, 2:22pm UTC](https://forum.defold.com/t/solved-1-14-0-making-progress-with-1st-game-how-to-make-gui-go-below-scene-fading-sprite-solved/83398/2 "2026-10-29T14:22:41Z")

</div>

Best is to… make a fade in/out “curtain” as a GUI node 😉 So same as you did, but with a GUI node, and if you want to control it from script - send a message to gui\_script to do so.

---

<div class="post-metadata">

**Author:** ![savantsavior](https://forum-defold.b-cdn.net/user_avatar/forum.defold.com/savantsavior/32/39987_2.png) [@savantsavior](https://forum.defold.com/u/savantsavior)\
**Post date:** [October 29, 2026, 3:41pm UTC](https://forum.defold.com/t/solved-1-14-0-making-progress-with-1st-game-how-to-make-gui-go-below-scene-fading-sprite-solved/83398/3 "2026-10-29T15:41:29Z")

</div>

I guess I can try that…  
Does Z-Index work with GUI nodes?  
Like have scene fade sprite GUI node have z=1.0  
and then GUI node with GUI button have z=0.5 ?

Above is not working…  
See image below:

I see GUI “Layer”, but the problem is the scene fading sprite & GUI button are in 2 different collections.

 ![GUI_Scene_Fade_Not_Working_With_GUI_Button-01](https://forum-defold-uploads.b-cdn.net/original/3X/0/b/0b5484630cd55dffaa019e4d12a784cb4f7005c2.png)

---

<div class="post-metadata">

**Author:** ![savantsavior](https://forum-defold.b-cdn.net/user_avatar/forum.defold.com/savantsavior/32/39987_2.png) [@savantsavior](https://forum.defold.com/u/savantsavior)\
**Post date:** [October 29, 2026, 5:06pm UTC](https://forum.defold.com/t/solved-1-14-0-making-progress-with-1st-game-how-to-make-gui-go-below-scene-fading-sprite-solved/83398/4 "2026-10-29T17:06:06Z")

</div>

I got it working:

I had to attached GUI scripts to both the GUI scene fade and GUI button.  
And then set in “init” function of both GUI scripts:

`gui.set_render_order(number between 0 and 15) -- Higher number would render above lower number`

Still have some things to figure out with this, I post to itch when done, thanks!

---

<div class="post-metadata">

**Author:** ![savantsavior](https://forum-defold.b-cdn.net/user_avatar/forum.defold.com/savantsavior/32/39987_2.png) [@savantsavior](https://forum.defold.com/u/savantsavior)\
**Post date:** [October 29, 2026, 6:41pm UTC](https://forum.defold.com/t/solved-1-14-0-making-progress-with-1st-game-how-to-make-gui-go-below-scene-fading-sprite-solved/83398/5 "2026-10-29T18:41:46Z")

</div>

Ok, everything is working, visit itch page below for Web HTML5 / Linux demo and project source:

> **[Project0-Defold by Team: JeZxLee](https://teamjezxlee.itch.io/project0-defold)**
>
> W.I.P. First video game made with Defold Engine...

---

<div class="post-metadata">

**Author:** ![Pawel](https://forum-defold.b-cdn.net/user_avatar/forum.defold.com/pawel/32/24623_2.png) [@Pawel](https://forum.defold.com/u/Pawel)\
**Post date:** [October 30, 2026, 2:40pm UTC](https://forum.defold.com/t/solved-1-14-0-making-progress-with-1st-game-how-to-make-gui-go-below-scene-fading-sprite-solved/83398/6 "2026-10-30T14:40:41Z")

</div>

Perfect!
