# How do I set a screenshot as an image for a widget?

**URL:** <https://forums.unrealengine.com/t/how-do-i-set-a-screenshot-as-an-image-for-a-widget/2720955>\
**Category:** Blueprint\
**Tags:** unreal-engine, Blueprint, question\
**Created:** [May 9, 2026, 4:49am UTC](https://forums.unrealengine.com/t/how-do-i-set-a-screenshot-as-an-image-for-a-widget/2720955 "2026-05-09T04:49:45Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Overseeing\_Industry](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/overseeing_industry/32/584362_2.png) [@Overseeing\_Industry](https://forums.unrealengine.com/u/Overseeing_Industry)\
**Post date:** [May 9, 2026, 4:49am UTC](https://forums.unrealengine.com/t/how-do-i-set-a-screenshot-as-an-image-for-a-widget/2720955/1 "2026-05-09T04:49:45Z")

</div>

I am making a level editor for my game. I am having trouble saving screenshots and using them for my widgets. The game is supposed to take a screenshot and then use the screenshot as the level image. Example from an official level.

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/1/9/e/19ecc5e115bbd42341de6cd921d424f967207bc1.jpeg)

This is the code I currently have. I have it set up currently to check if the file even exists for the game to read before trying to import it, but it keeps saying that it doesn’t exist.

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/e/5/0/e508937a08e7111a3bd048f8a8decfeb2789fff0.png)

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/e/2/3/e23bb0edc698f19b125b6855d0ff0211c42d3323.png)

It is currently looking for an image in this example called 'Test Level.png" and I am looking in the correct directory as shown here.

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/d/9/1/d9107e29629cf8f0dab4f621adda9691cb93854c.png)

Surly I am doing something wrong here. I have tried for several weeks trying to get this to work with no avail. I even tried looking this up and not finding anything that works. I have the image in the correct location and it still does not find it.

---

<div class="post-metadata">

**Author:** ![Overseeing\_Industry](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/overseeing_industry/32/584362_2.png) [@Overseeing\_Industry](https://forums.unrealengine.com/u/Overseeing_Industry)\
**Post date:** [May 9, 2026, 4:57am UTC](https://forums.unrealengine.com/t/how-do-i-set-a-screenshot-as-an-image-for-a-widget/2720955/2 "2026-05-09T04:57:23Z")

</div>

Okay, I have an update. Turns out that I was missing a / at the end lol. I am currently seeing if I can import the screenshot so i can use it for my widgets. If you have any solutions on how to do that while I try to figure it out, feel free to tell me. I am getting really irritated doing this lol.

---

<div class="post-metadata">

**Author:** ![Overseeing\_Industry](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/overseeing_industry/32/584362_2.png) [@Overseeing\_Industry](https://forums.unrealengine.com/u/Overseeing_Industry)\
**Post date:** [May 9, 2026, 5:16am UTC](https://forums.unrealengine.com/t/how-do-i-set-a-screenshot-as-an-image-for-a-widget/2720955/3 "2026-05-09T05:16:39Z")

</div>

New update! I seem to have it imported and saved. However, it seems to only appear a white image for some reason. This is the import code.

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/6/1/8/61818780bd3105b028e5e518697b5b49d970d823.png)

This is the code inside that function called “Save Custom Level Screenshot”

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/b/7/e/b7e022173ac73257f367a4303b8e8ddffa659875.png)

Result:

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/b/1/c/b1c46599c74b00148bbc068d1c55f198fc0b97f8.png)

---

<div class="post-metadata">

**Author:** ![Ram07](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Ram07](https://forums.unrealengine.com/u/Ram07)\
**Post date:** [May 16, 2026, 5:41pm UTC](https://forums.unrealengine.com/t/how-do-i-set-a-screenshot-as-an-image-for-a-widget/2720955/4 "2026-05-16T17:41:48Z")

</div>

hi, did you have any breakthrough on this?

---

<div class="post-metadata">

**Author:** ![Overseeing\_Industry](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/overseeing_industry/32/584362_2.png) [@Overseeing\_Industry](https://forums.unrealengine.com/u/Overseeing_Industry)\
**Post date:** [July 26, 2026, 1:51pm UTC](https://forums.unrealengine.com/t/how-do-i-set-a-screenshot-as-an-image-for-a-widget/2720955/5 "2026-07-26T13:51:14Z")

</div>

So I ended up having to go to the screenshot folder every time I needed it.
