# How to take a screenshot including UI only using Blueprint?

**URL:** <https://forums.unrealengine.com/t/how-to-take-a-screenshot-including-ui-only-using-blueprint/538031>\
**Category:** Blueprint\
**Tags:** unreal-engine, UE5-0, Blueprint, question\
**Created:** [April 24, 2022, 2:30am UTC](https://forums.unrealengine.com/t/how-to-take-a-screenshot-including-ui-only-using-blueprint/538031 "2022-04-24T02:30:36Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![MessyHuman](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/messyhuman/32/465375_2.png) [@MessyHuman](https://forums.unrealengine.com/u/MessyHuman)\
**Post date:** [April 24, 2022, 2:30am UTC](https://forums.unrealengine.com/t/how-to-take-a-screenshot-including-ui-only-using-blueprint/538031/1 "2022-04-24T02:30:36Z")

</div>

Hello! I am trying to take screenshots to use for my save/load menu. I am working on a visual novel and I would like to have images saved of the game at the time of the save that includes the UI since most of the game happens in the UI.  
The only solution I have found so far is to use the console command node to take a bugscreeshot, then I go and access the image and rename it to match the name of the save. However, if the screenshot takes too long to be taken then the timing gets missed and the screenshot isn’t renamed.

So what I would like to be able to do is take a screenshot that captures the UI/current game view and assign its name when the screenshot is taken rather than waiting for the screenshot to complete. Is there any way to do this using only blueprints? I am open to using a marketplace addin if one exists that does this.

---

<div class="post-metadata">

**Author:** ![jwatte](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/jwatte/32/744941_2.png) [@jwatte](https://forums.unrealengine.com/u/jwatte)\
**Post date:** [April 24, 2022, 3:48am UTC](https://forums.unrealengine.com/t/how-to-take-a-screenshot-including-ui-only-using-blueprint/538031/2 "2022-04-24T03:48:35Z")

</div>

Use the “Shot” console command.

The screen shot will show up in the Saved/Screenshots directory in PIE, or user appdata folder if installed.

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/b/6/b/b6b3d4d4cedbebcc4128d4d93f6952a042f1dd7c.png)

You can also pass in a custom name in the HighResShot command:

Or, if you want to specify resolution and filename/path, use HighResShot with filename=:

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/d/d/7/dd763e9084d7dff5220b81830847c4f7947b67e5.png)

---

<div class="post-metadata">

**Author:** ![Husky211](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/husky211/32/1193324_2.png) [@Husky211](https://forums.unrealengine.com/u/Husky211)\
**Post date:** [April 26, 2022, 3:10am UTC](https://forums.unrealengine.com/t/how-to-take-a-screenshot-including-ui-only-using-blueprint/538031/4 "2022-04-26T03:10:24Z")

</div>

![PP](https://d3kjluh73b9h9o.cloudfront.net/original/4X/9/2/1/921155a20aacefb6855de7fe1912067d37ee4764.png)

Choose the one that suits you 🧐

---

<div class="post-metadata">

**Author:** ![jwatte](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/jwatte/32/744941_2.png) [@jwatte](https://forums.unrealengine.com/u/jwatte)\
**Post date:** [April 26, 2022, 3:54am UTC](https://forums.unrealengine.com/t/how-to-take-a-screenshot-including-ui-only-using-blueprint/538031/5 "2022-04-26T03:54:30Z")

</div>

If your shipping builds disable console commands, this may depend on what your Console Class setting is in the Project Settings.  
By default, the console works fine in shipping. There’s even a mobile shortcut for “show console” – four-finger tap.

I just built this exact project to release mode (on Windows) and pressed my screen shot key (F6, bound to Event Screen Shot) and the screen shot came out.  
I could also press backtick, and the console rolled up, and I could execute the Shot command.

That being said, @Husky211 shows the Blueprint nodes that you can use if you don’t like the console, they do the same thing!

---

<div class="post-metadata">

**Author:** ![MessyHuman](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/messyhuman/32/465375_2.png) [@MessyHuman](https://forums.unrealengine.com/u/MessyHuman)\
**Post date:** [April 26, 2022, 6:48pm UTC](https://forums.unrealengine.com/t/how-to-take-a-screenshot-including-ui-only-using-blueprint/538031/6 "2022-04-26T18:48:19Z")

</div>

Hello! Thank you all so far for the replies, I’ve tried some of this out and still run into some issues.

@jwatte  
I tried using the Shot and HighResShot commands but neither seem to capture the UI they just capture the camera view.

@Husky211  
I tried using these but most of them don’t capture UI or for the capture UI one specifically I haven’t been able to locate the screenshots from it. The Log said the image was saved in the automation folder and I’ve gotten an image from the gameplay screenshot node to save there but this one specifically isn’t appearing.  
Here are my settings for the node:

 ![Screen Shot 2022-04-26 at 11.55.45 AM](https://d3kjluh73b9h9o.cloudfront.net/original/4X/0/b/a/0baa74d30747eb7e19be771f100af0cdd0966e4b.png)

Also for more context on why capturing the UI is so important; the game happens almost entirely in widgets. It’s set up like a standard visual novel but the backgrounds are scene capture components that are applied to a layer of the UI widget. This is why I need to be able to capture the UI in my screenshot.

---

<div class="post-metadata">

**Author:** ![Husky211](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/husky211/32/1193324_2.png) [@Husky211](https://forums.unrealengine.com/u/Husky211)\
**Post date:** [April 26, 2022, 8:10pm UTC](https://forums.unrealengine.com/t/how-to-take-a-screenshot-including-ui-only-using-blueprint/538031/7 "2022-04-26T20:10:15Z")

</div>

you have a blueprint to get the save path “Screen shot dir”… 4 some reason dont work 😕

---

<div class="post-metadata">

**Author:** ![jwatte](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/jwatte/32/744941_2.png) [@jwatte](https://forums.unrealengine.com/u/jwatte)\
**Post date:** [April 27, 2022, 10:24pm UTC](https://forums.unrealengine.com/t/how-to-take-a-screenshot-including-ui-only-using-blueprint/538031/9 "2022-04-27T22:24:27Z")

</div>

Hmm, you may need to use a `FScreenshotRequest` for that to work then, which requires a smidgen of C++. You can build a C++ plugin that’s nothing but a Blueprint native function library, and then do the necessary in there.

```auto
request->RequestScreenshot("ScreenShot", true, false);

```

Assuming you have Visual Studio installed, and know at least some C++, it’s really quite easy to “add C++ class” and choose blueprint function library and then implement a single static function to do it.

---

<div class="post-metadata">

**Author:** ![MessyHuman](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/messyhuman/32/465375_2.png) [@MessyHuman](https://forums.unrealengine.com/u/MessyHuman)\
**Post date:** [May 17, 2022, 10:51pm UTC](https://forums.unrealengine.com/t/how-to-take-a-screenshot-including-ui-only-using-blueprint/538031/10 "2022-05-17T22:51:46Z")

</div>

Will this work without needing to compile my project? That’s the primary thing I’m trying to avoid is needing to compile the project. If I can just write this outside of UE and import it then that would actually work really well!

---

<div class="post-metadata">

**Author:** ![jwatte](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/jwatte/32/744941_2.png) [@jwatte](https://forums.unrealengine.com/u/jwatte)\
**Post date:** [May 18, 2022, 3:51am UTC](https://forums.unrealengine.com/t/how-to-take-a-screenshot-including-ui-only-using-blueprint/538031/11 "2022-05-18T03:51:11Z")

</div>

What do you mean by “compiling your project?”

The plugin that you make, has to be compiled. That happens just once, unless you change it again. Unreal Engine will make a visual studio project for your UE project, but that doesn’t mean that you have to invoke visual studio for anything other than if you change this plugin code that lives in C++. You don’t have to start the editor from visual studio, and you don’t have to have visual studio running to edit, run, or package your project.

---

<div class="post-metadata">

**Author:** ![KristofMorva](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/kristofmorva/32/1194508_2.png) [@KristofMorva](https://forums.unrealengine.com/u/KristofMorva)\
**Post date:** [February 3, 2023, 8:50pm UTC](https://forums.unrealengine.com/t/how-to-take-a-screenshot-including-ui-only-using-blueprint/538031/12 "2023-02-03T20:50:41Z")

</div>

Just for any future readers, you can execute `shot showui` to take a screenshot with UI.

---

<div class="post-metadata">

**Author:** ![GreeyaJini](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/greeyajini/32/618627_2.png) [@GreeyaJini](https://forums.unrealengine.com/u/GreeyaJini)\
**Post date:** [March 3, 2023, 7:56am UTC](https://forums.unrealengine.com/t/how-to-take-a-screenshot-including-ui-only-using-blueprint/538031/13 "2023-03-03T07:56:53Z")

</div>

@KristofMorva i have tried it and it worked perfectly fine for me but i want to change its saving directory (which is currently the project file saved screenshot folder) to my c:\ drive…How can i do this??

---

<div class="post-metadata">

**Author:** ![KristofMorva](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/kristofmorva/32/1194508_2.png) [@KristofMorva](https://forums.unrealengine.com/u/KristofMorva)\
**Post date:** [March 3, 2023, 10:17am UTC](https://forums.unrealengine.com/t/how-to-take-a-screenshot-including-ui-only-using-blueprint/538031/14 "2023-03-03T10:17:54Z")

</div>

Hey, you should be able to do `shot showui filename=/Your/Directory`

---

<div class="post-metadata">

**Author:** ![GreeyaJini](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/greeyajini/32/618627_2.png) [@GreeyaJini](https://forums.unrealengine.com/u/GreeyaJini)\
**Post date:** [March 3, 2023, 10:38am UTC](https://forums.unrealengine.com/t/how-to-take-a-screenshot-including-ui-only-using-blueprint/538031/15 "2023-03-03T10:38:25Z")

</div>

@KristofMorva  
umm… don’t know like this…

 ![Screenshot_20230303_160746](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/0/0/20075140725462f8f92f29f8419f381fe55ea5ae.png)

---

<div class="post-metadata">

**Author:** ![KristofMorva](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/kristofmorva/32/1194508_2.png) [@KristofMorva](https://forums.unrealengine.com/u/KristofMorva)\
**Post date:** [March 3, 2023, 2:29pm UTC](https://forums.unrealengine.com/t/how-to-take-a-screenshot-including-ui-only-using-blueprint/538031/16 "2023-03-03T14:29:09Z")

</div>

Well, on Windows paths don’t start with `/`, so there you’d use something like `C:/Users/YourUserName/AppData/Local/YourProductName`.

---

<div class="post-metadata">

**Author:** ![GreeyaJini](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/greeyajini/32/618627_2.png) [@GreeyaJini](https://forums.unrealengine.com/u/GreeyaJini)\
**Post date:** [March 4, 2023, 4:36am UTC](https://forums.unrealengine.com/t/how-to-take-a-screenshot-including-ui-only-using-blueprint/538031/17 "2023-03-04T04:36:06Z")

</div>

Ok, it worked … thank you @KristofMorva for your help

---

<div class="post-metadata">

**Author:** ![AllGamesSuck](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@AllGamesSuck](https://forums.unrealengine.com/u/AllGamesSuck)\
**Post date:** [February 7, 2024, 9:49pm UTC](https://forums.unrealengine.com/t/how-to-take-a-screenshot-including-ui-only-using-blueprint/538031/18 "2024-02-07T21:49:17Z")

</div>

> [@KristofMorva](#):
>
> Just for any future readers, you can execute `shot showui` to take a screenshot with UI.

Do you know if you can set the resolution on that as well? Or does showui work with HighResShot?  
Thanks.

---

<div class="post-metadata">

**Author:** ![AllGamesSuck](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@AllGamesSuck](https://forums.unrealengine.com/u/AllGamesSuck)\
**Post date:** [February 7, 2024, 10:20pm UTC](https://forums.unrealengine.com/t/how-to-take-a-screenshot-including-ui-only-using-blueprint/538031/19 "2024-02-07T22:20:52Z")

</div>

> [@Husky211](#):
>
> ![PP](https://d3kjluh73b9h9o.cloudfront.net/original/4X/9/2/1/921155a20aacefb6855de7fe1912067d37ee4764.png)
> 
> Choose the one that suits you

Hi, do you know where those nodes put the files? Cannot find them. Thanks.

---

<div class="post-metadata">

**Author:** ![KristofMorva](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/kristofmorva/32/1194508_2.png) [@KristofMorva](https://forums.unrealengine.com/u/KristofMorva)\
**Post date:** [February 9, 2024, 3:02pm UTC](https://forums.unrealengine.com/t/how-to-take-a-screenshot-including-ui-only-using-blueprint/538031/20 "2024-02-09T15:02:04Z")

</div>

Hey, as far as I can tell, you can’t combine them (low res has no resolution, high res has no showui).

---

<div class="post-metadata">

**Author:** ![AllGamesSuck](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@AllGamesSuck](https://forums.unrealengine.com/u/AllGamesSuck)\
**Post date:** [February 9, 2024, 5:38pm UTC](https://forums.unrealengine.com/t/how-to-take-a-screenshot-including-ui-only-using-blueprint/538031/21 "2024-02-09T17:38:21Z")

</div>

Lol, it’s almost like Epic is trolling all of us. I’ve been banging my head for days to find the best way to take a screnshot in game.

---

<div class="post-metadata">

**Author:** ![Matte\_P](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Matte\_P](https://forums.unrealengine.com/u/Matte_P)\
**Post date:** [August 21, 2024, 3:31pm UTC](https://forums.unrealengine.com/t/how-to-take-a-screenshot-including-ui-only-using-blueprint/538031/22 "2024-08-21T15:31:27Z")

</div>

@MessyHuman  
Were you able to resolve this? None of the solutions mentioned in the thread are working for me and my “game” is set up similar to yours, all ran through HUD + Widgets.

[Next page](https://forums.unrealengine.com/t/how-to-take-a-screenshot-including-ui-only-using-blueprint/538031.md?page=2)
