# How do I hide the loading screen when the texture loading is finished?

**URL:** https://forum.babylonjs.com/t/how-do-i-hide-the-loading-screen-when-the-texture-loading-is-finished/36679
**Category:** Questions
**Tags:** ui
**Created:** [December 19, 2022, 12:37pm UTC](https://forum.babylonjs.com/t/how-do-i-hide-the-loading-screen-when-the-texture-loading-is-finished/36679 "2022-12-19T12:37:33Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![fcozsargin](https://avatars.discourse-cdn.com/v4/letter/f/82dd89/32.png) [@fcozsargin](https://forum.babylonjs.com/u/fcozsargin)
#### Post date: [December 19, 2022, 12:37pm UTC](https://forum.babylonjs.com/t/how-do-i-hide-the-loading-screen-when-the-texture-loading-is-finished/36679/1 "2022-12-19T12:37:33Z")

</div>

Hello. I have one problem. I want the loading screen to appear when the new texture is loaded into the scene. The loading screen opens but does not close after the texture is loaded. How can I solve this problem?

Playground example:

> **[Babylon.js Playground](https://playground.babylonjs.com/#1RE7FC)**
>
> Babylon.js playground is a live editor for Babylon.js WebGL 3D scenes

---

<div class="post-metadata">

### Author: ![mawa](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/mawa/32/12384_2.png) [@mawa](https://forum.babylonjs.com/u/mawa)
#### Post date: [December 19, 2022, 2:25pm UTC](https://forum.babylonjs.com/t/how-do-i-hide-the-loading-screen-when-the-texture-loading-is-finished/36679/2 "2022-12-19T14:25:40Z")

</div>

Hi,  
First thing is this texture loads just too fast on my rig so I have no chance to see the loading screen.  
Second is that ‘onLoadObservable’ as its name does not suggest, actually triggers when the loading is done.

With that said, I have linked to a bigger texture and did put all into a function also adding a timeout, just to check on that loading screen. Of course, neither the function nor the timeout is necessary. Although I guess it doesn’t harm to have a function instead of putting everything in the button observable. Your choice in the end. Hope this helps and meanwhile, have a great day 🕶

> **[Babylon.js Playground](https://playground.babylonjs.com/#1RE7FC%232)**
>
> Babylon.js playground is a live editor for Babylon.js WebGL 3D scenes

---

<div class="post-metadata">

### Author: ![fcozsargin](https://avatars.discourse-cdn.com/v4/letter/f/82dd89/32.png) [@fcozsargin](https://forum.babylonjs.com/u/fcozsargin)
#### Post date: [December 26, 2022, 10:04am UTC](https://forum.babylonjs.com/t/how-do-i-hide-the-loading-screen-when-the-texture-loading-is-finished/36679/3 "2022-12-26T10:04:47Z")

</div>

thank you. it’s work
