# Detect loading screen

**URL:** <https://forum.babylonjs.com/t/detect-loading-screen/28314>\
**Category:** Questions\
**Created:** [March 10, 2022, 5:35pm UTC](https://forum.babylonjs.com/t/detect-loading-screen/28314 "2022-03-10T17:35:19Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![pigga](https://avatars.discourse-cdn.com/v4/letter/p/439d5e/32.png) [@pigga](https://forum.babylonjs.com/u/pigga)\
**Post date:** [March 10, 2022, 5:35pm UTC](https://forum.babylonjs.com/t/detect-loading-screen/28314/1 "2022-03-10T17:35:19Z")

</div>

Is there any way to know if the scene is in its loading screen in babylon? [ILoadingScreen | Babylon.js Documentation (babylonjs.com)](https://doc.babylonjs.com/typedoc/interfaces/babylon.iloadingscreen)

---

<div class="post-metadata">

**Author:** ![sebavan](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/sebavan/32/57_2.png) [@sebavan](https://forum.babylonjs.com/u/sebavan)\
**Post date:** [March 10, 2022, 6:52pm UTC](https://forum.babylonjs.com/t/detect-loading-screen/28314/2 "2022-03-10T18:52:38Z")

</div>

Not currently, feel free to make a PR for it 🙂

Currently it hides only when the scene is ready so running this: scene.executeWhenReady(() =\> {…}) would ensure the code there would be after it is not visible anymore.
