# Simple way of fading in and out once with a click

**URL:** <https://forum.babylonjs.com/t/simple-way-of-fading-in-and-out-once-with-a-click/15294>\
**Category:** Questions\
**Created:** [October 30, 2020, 12:30pm UTC](https://forum.babylonjs.com/t/simple-way-of-fading-in-and-out-once-with-a-click/15294 "2020-10-30T12:30:22Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![saifshk17](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/saifshk17/32/1418_2.png) [@saifshk17](https://forum.babylonjs.com/u/saifshk17)\
**Post date:** [October 30, 2020, 12:30pm UTC](https://forum.babylonjs.com/t/simple-way-of-fading-in-and-out-once-with-a-click/15294/1 "2020-10-30T12:30:22Z")

</div>

I am looking for a way to fade in and out a scene with fading speed as 2 seconds. I have created a playground and the fade in works:

> **[Babylon.js Playground](https://www.babylonjs-playground.com/#5QHFV0)**

However in my original scene I have a dome and few models that do not fade in. Is there a better way to fade in the camera itself instead of fading in the scene? Can somebody edit in the playground as an easier way to fade in and out?

---

<div class="post-metadata">

**Author:** ![Deltakosh](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/deltakosh/32/26635_2.png) [@Deltakosh](https://forum.babylonjs.com/u/Deltakosh)\
**Post date:** [October 30, 2020, 5:17pm UTC](https://forum.babylonjs.com/t/simple-way-of-fading-in-and-out-once-with-a-click/15294/2 "2020-10-30T17:17:21Z")

</div>

I will recommend to use a postprocess for that  
[https://www.babylonjs-playground.com/#2FGYE8#5](https://www.babylonjs-playground.com/#2FGYE8#5)
