# Create Screenshot with hidden camera

**URL:** <https://forum.babylonjs.com/t/create-screenshot-with-hidden-camera/3075>\
**Category:** Questions\
**Created:** [May 8, 2019, 4:42pm UTC](https://forum.babylonjs.com/t/create-screenshot-with-hidden-camera/3075 "2019-05-08T16:42:07Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Santa\_Gergely](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/santa_gergely/32/2210_2.png) [@Santa\_Gergely](https://forum.babylonjs.com/u/Santa_Gergely)\
**Post date:** [May 8, 2019, 4:42pm UTC](https://forum.babylonjs.com/t/create-screenshot-with-hidden-camera/3075/1 "2019-05-08T16:42:07Z")

</div>

Hi!

I would like to use a “hidden” camera for creating screenshots.  
So there is a main Camera which the user actually sees, but I would like to use other cameras to create screenshots of various other parts of the scene without showing the ViewPort of those hidden cameras. So the user will only see the created screenshots.

Is it possible?

---

<div class="post-metadata">

**Author:** ![trevordev](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/trevordev/32/16_2.png) [@trevordev](https://forum.babylonjs.com/u/trevordev)\
**Post date:** [May 8, 2019, 5:15pm UTC](https://forum.babylonjs.com/t/create-screenshot-with-hidden-camera/3075/2 "2019-05-08T17:15:47Z")

</div>

See this playground [Babylon.js Playground](https://playground.babylonjs.com/#KTJTD9)

If you change the passed to CreateScreenshotUsingRenderTarget it should work even if the camera isn’t active.

---

<div class="post-metadata">

**Author:** ![Josip\_Almasi](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/josip_almasi/32/6391_2.png) [@Josip\_Almasi](https://forum.babylonjs.com/u/Josip_Almasi)\
**Post date:** [January 11, 2025, 2:59pm UTC](https://forum.babylonjs.com/t/create-screenshot-with-hidden-camera/3075/4 "2025-01-11T14:59:07Z")

</div>

This isn’t exactly true 🙂  
Apparently it changes the active camera while taking screenshot, which triggers camera changed observable. And then again, when active camera witches back.  
No big deal.
