# Screenshots without GUI

**URL:** <https://openrndr.discourse.group/t/screenshots-without-gui/610>\
**Category:** How to?\
**Created:** [November 6, 2023, 6:29pm UTC](https://openrndr.discourse.group/t/screenshots-without-gui/610 "2023-11-06T18:29:01Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![anoniim](https://yyz2.discourse-cdn.com/free1/user_avatar/openrndr.discourse.group/anoniim/32/383_2.png) [@anoniim](https://openrndr.discourse.group/u/anoniim)\
**Post date:** [November 6, 2023, 6:29pm UTC](https://openrndr.discourse.group/t/screenshots-without-gui/610/1 "2023-11-06T18:29:01Z")

</div>

Hi hello, I wonder if there is a way to take screenshots (using `org.openrndr.extensions Screenshots` extension) that do not contain the UI added through `org.openrndr.panel.ControlManager`.

I thought I would use `beforeScreenshot` and `afterScreenshot` events to remove the UI and add it back after the screenshot is taken but don’t think it’s possible to remove the UI once it has been drawn.

I guess I could reimplement the screenshot functionality myself and only save the contents of my custom render target to a file, but that seems like a lot of work to match the same features of the Screenshots extension.

Did I miss anything or is this not supported?

---

<div class="post-metadata">

**Author:** ![abe](https://yyz2.discourse-cdn.com/free1/user_avatar/openrndr.discourse.group/abe/32/700_2.png) [@abe](https://openrndr.discourse.group/u/abe)\
**Post date:** [November 6, 2023, 7:31pm UTC](https://openrndr.discourse.group/t/screenshots-without-gui/610/2 "2023-11-06T19:31:30Z")

</div>

Hi hi 🙂 I think it’s based on order.

If you `extend(Screenshots())` **after** `extend(ControlManager())` it should not be visible in the resulting image. Is that the case?

---

<div class="post-metadata">

**Author:** ![anoniim](https://yyz2.discourse-cdn.com/free1/user_avatar/openrndr.discourse.group/anoniim/32/383_2.png) [@anoniim](https://openrndr.discourse.group/u/anoniim)\
**Post date:** [November 6, 2023, 8:53pm UTC](https://openrndr.discourse.group/t/screenshots-without-gui/610/3 "2023-11-06T20:53:54Z")

</div>

You are right @abe, it is the case! Thank you 🙂
