# \[Re-ask\] How can I edit \[Map/Array\] variables using Construct, but also have them editable in Details panel?

**URL:** <https://forums.unrealengine.com/t/re-ask-how-can-i-edit-map-array-variables-using-construct-but-also-have-them-editable-in-details-panel/1932577>\
**Category:** Blueprint\
**Tags:** unreal-engine, question\
**Created:** [July 10, 2024, 7:50am UTC](https://forums.unrealengine.com/t/re-ask-how-can-i-edit-map-array-variables-using-construct-but-also-have-them-editable-in-details-panel/1932577 "2024-07-10T07:50:36Z")\
**Posts on this page:** 1\
**Page:** 1

<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:** [July 10, 2024, 7:50am UTC](https://forums.unrealengine.com/t/re-ask-how-can-i-edit-map-array-variables-using-construct-but-also-have-them-editable-in-details-panel/1932577/1 "2024-07-10T07:50:36Z")

</div>

I have a serious block. “Construct” (Construction script) can alter Map/Array variables, but the change does not show in the Blueprint Editor \> Actor BP’s \> Details panel.

1. How can I alter a Map/Array \> live in Blueprint Editor (not World view), by using Construct or [pre Construct trigger/button] - so that I can also access/alter the variable (Array index) in the Details panel?

- A. Specifically, I need the User to be able to [run my Construct] then dropbox edit the different indexes (of a DataTable Row Handle ARRAY) \> so they can make their choice \> to then run my Construct part 2 (and customize visible parts).

- B. Each DT ROW represents/pairs with an SK mesh that User manually adds, and thats the only manual work that I want the User to do. (Meaning I only want User to connect SK mesh pins \> then my code creates the paired DT variable per part \> formed into an Array of all parts \> for further processing.)

- C. And I don’t want to have to split the Array into 10 individual Single variables [that we need to manually add in the CharBP] (of DT Row handle) - because a different type of Character might need 20 = too tedious esp during development changes.

- Is #1 possible in UE4.27 or 5x? Thank you.

* * *

Pic 1 shows my Construct code:  
I only want the User to connect pins at the Green box, so that my code auto pairs/sets the variables in the Yellow box.

 ![BPGraphScreenshot_2024Y-07M-10D-00h-36m-24s-897_00](https://d3kjluh73b9h9o.cloudfront.net/original/4X/1/a/d/1add92b84b0d6154eaf8efb79817f72449d992fa.jpeg)

* * *

Pic 2 shows Output log = proves that the Construct script is altering the Maps/Arrays.

 ![UE4 Construct does update variable, but not in Details panel](https://d3kjluh73b9h9o.cloudfront.net/original/4X/3/7/e/37ef3bec24bf0eb3fbfd633209aafd2c90fba8a2.png)

* * *

But Pic 3 shows a UE4.27 bug or limitation?:  
the Array (edited by Construct to have 4 indexes) - shows that it has 0 \> at the Details panel. I need to be able to edit the Array indexes after my Construct script alters them.

 ![UE4 Construct problem](https://d3kjluh73b9h9o.cloudfront.net/original/4X/8/6/3/86337209e8b47a5785e9f69403c0ac557571dcf7.png)

* * *

Old question: discovered that Construct does alter Map/Array vars, but doesnt show the update in Details panel. (Back then I didnt need to use the Map, now I do.)

> [@Why cant I Set/Update a MAP variable in Construction script?](https://forums.unrealengine.com/t/why-cant-i-set-update-a-map-variable-in-construction-script/1185231/8):
>
> 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 C…
