# Hide image from map viariable

**URL:** <https://forums.unrealengine.com/t/hide-image-from-map-viariable/2663073>\
**Category:** Blueprint\
**Tags:** unreal-engine\
**Created:** [October 7, 2025, 5:19pm UTC](https://forums.unrealengine.com/t/hide-image-from-map-viariable/2663073 "2025-10-07T17:19:53Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Deadlyo0](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Deadlyo0](https://forums.unrealengine.com/u/Deadlyo0)\
**Post date:** [October 7, 2025, 5:19pm UTC](https://forums.unrealengine.com/t/hide-image-from-map-viariable/2663073/1 "2025-10-07T17:19:53Z")

</div>

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

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/5/9/1/591b7d4fe226b55087063db222a77b45e4e4f748.png)

I have a map in the game as a UI.

It contains level tiles, each level is a separate image.

I would like to have the option to hide and show it depending on whether the player has unlocked the level.

I tried to do this with the MAP variable

where I have the level name and a boolean to indicate whether the level has been unlocked

But from the level name, I don’t know how to show the appropriate level tile on the map.

I would like the script to check for unlocked levels (using boolean in save game) when opening the map, and then hide/show the appropriate tile.

---

<div class="post-metadata">

**Author:** ![IcaroMotta](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/icaromotta/32/1210010_2.png) [@IcaroMotta](https://forums.unrealengine.com/u/IcaroMotta)\
**Post date:** [October 16, 2026, 9:04pm UTC](https://forums.unrealengine.com/t/hide-image-from-map-viariable/2663073/2 "2026-10-16T21:04:33Z")

</div>

Hi, if you create a Map for all your Level images using the same key that your Map for boolean values, you can do the code like this:

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/f/0/a/f0ac2913295211e0ffb91d8cdc0799e6ca31d2b4.png)
