# Example of doing screenshots with only one camera

**URL:** <https://forum.playcanvas.com/t/example-of-doing-screenshots-with-only-one-camera/24208>\
**Category:** Help & Support\
**Created:** [February 4, 2022, 8:49am UTC](https://forum.playcanvas.com/t/example-of-doing-screenshots-with-only-one-camera/24208 "2022-02-04T08:49:51Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![yaustar](https://forum.playcanvas.com/user_avatar/forum.playcanvas.com/yaustar/32/2268_2.png) [@yaustar](https://forum.playcanvas.com/u/yaustar)\
**Post date:** [February 4, 2022, 8:49am UTC](https://forum.playcanvas.com/t/example-of-doing-screenshots-with-only-one-camera/24208/1 "2022-02-04T08:49:51Z")

</div>

Following this twitter thread: [https://twitter.com/imkarthik1997/status/1488915614454333443](https://twitter.com/imkarthik1997/status/1488915614454333443)

The user wanted an example of taking a screenshot with the same camera that’s rendering the game instead of maintaining a second camera.

Here’s the modified fork: [https://twitter.com/imkarthik1997/status/1488915614454333443](https://twitter.com/imkarthik1997/status/1488915614454333443)

It takes a list of layer names to render for the screenshot and swaps them on the camera when taking the screenshot.
