# Why cant I Set/Update a MAP variable in Construction script?

**URL:** <https://forums.unrealengine.com/t/why-cant-i-set-update-a-map-variable-in-construction-script/1185231>\
**Category:** Blueprint\
**Tags:** Map, unreal-engine, construction-script, Blueprint, question\
**Created:** [June 1, 2023, 3:06am UTC](https://forums.unrealengine.com/t/why-cant-i-set-update-a-map-variable-in-construction-script/1185231 "2023-06-01T03:06:52Z")\
**Posts on this page:** 1\
**Showing post:** 8

<div class="post-metadata">

**Author:** ![XxNotAGamerxX](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@XxNotAGamerxX](https://forums.unrealengine.com/u/XxNotAGamerxX)\
**Post date:** [June 4, 2023, 8:41am UTC](https://forums.unrealengine.com/t/why-cant-i-set-update-a-map-variable-in-construction-script/1185231/8 "2023-06-04T08:41:47Z")

</div>

> [@Grot13](#):
>
> The variable won’t update in the right pannel, that is normal.

- Ok, thanks for the confirm. So my question is why didnt they make it update in Right panel (so that I wouldnt think my CS code was NOT working)? Seems counter intuitive.

I saw so many people complain that CS was not updating their Vars - but it was merely not displaying the update in the Right panel (as we think it should).

Also I see your highlight pic \> Right panel \> no Indexes are set for your Map. Perhaps Map is an exotic variable and I’m thinking of it wrong. And Maps are only used as Cups to fill up once in game?  
(I wanted to preset a list of 6 DT rows \> to load my Armor. I couldnt get that to work. So I had to make 6 single variables of DT row handles instead.)

> [@Grot13](#):
>
> Don’t forget, prints in CS appears only when you compile, when you modify the actor on the scene, or on begin play.

Ty 🙂

---

_[View the full topic](https://forums.unrealengine.com/t/why-cant-i-set-update-a-map-variable-in-construction-script/1185231)._
