# Referencing Parameters

**URL:** <https://forums.unrealengine.com/t/referencing-parameters/1164287>\
**Category:** Blueprint\
**Tags:** reference, object-reference, unreal-engine, UE5, Blueprint, question\
**Created:** [May 13, 2023, 7:53am UTC](https://forums.unrealengine.com/t/referencing-parameters/1164287 "2023-05-13T07:53:22Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![T4l\_R](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@T4l\_R](https://forums.unrealengine.com/u/T4l_R)\
**Post date:** [May 13, 2023, 7:53am UTC](https://forums.unrealengine.com/t/referencing-parameters/1164287/1 "2023-05-13T07:53:22Z")

</div>

Hi all,  
Let’s say I have an array parameter in my BP (widget) and when creating a new widget I’m referencing that array in its array parameter (it’s instance editable and exposed on spawn). If I add/remove/modify items from that array should it affect the original array I referenced?  
If not, what should I do for it to work?

---

<div class="post-metadata">

**Author:** ![ClockworkOcean](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/clockworkocean/32/1169999_2.png) [@ClockworkOcean](https://forums.unrealengine.com/u/ClockworkOcean)\
**Post date:** [May 13, 2023, 8:04am UTC](https://forums.unrealengine.com/t/referencing-parameters/1164287/2 "2023-05-13T08:04:09Z")

</div>

> [@T4l\_R](#):
>
> should it affect the original array I referenced?

Yes 🙂 It will affect the instance of the widget. Is it not working?

---

<div class="post-metadata">

**Author:** ![T4l\_R](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@T4l\_R](https://forums.unrealengine.com/u/T4l_R)\
**Post date:** [May 13, 2023, 10:17am UTC](https://forums.unrealengine.com/t/referencing-parameters/1164287/3 "2023-05-13T10:17:13Z")

</div>

Apparently not.

---

<div class="post-metadata">

**Author:** ![ClockworkOcean](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/clockworkocean/32/1169999_2.png) [@ClockworkOcean](https://forums.unrealengine.com/u/ClockworkOcean)\
**Post date:** [May 13, 2023, 10:19am UTC](https://forums.unrealengine.com/t/referencing-parameters/1164287/4 "2023-05-13T10:19:17Z")

</div>

To be clear, it should affect the array in the widget you just created.

---

<div class="post-metadata">

**Author:** ![T4l\_R](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@T4l\_R](https://forums.unrealengine.com/u/T4l_R)\
**Post date:** [May 13, 2023, 11:47am UTC](https://forums.unrealengine.com/t/referencing-parameters/1164287/5 "2023-05-13T11:47:32Z")

</div>

Yeah, that’s what happening right now. Is there a way to make it affect the original array I referenced?

---

<div class="post-metadata">

**Author:** ![ClockworkOcean](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/clockworkocean/32/1169999_2.png) [@ClockworkOcean](https://forums.unrealengine.com/u/ClockworkOcean)\
**Post date:** [May 13, 2023, 12:08pm UTC](https://forums.unrealengine.com/t/referencing-parameters/1164287/6 "2023-05-13T12:08:09Z")

</div>

If you make a widget blueprint that contains an array. There’s no way to affect your original blueprint from an instance of that widget. You can only affect an existing instance. IE one that has been added to the screen, or hidden.

---

<div class="post-metadata">

**Author:** ![T4l\_R](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@T4l\_R](https://forums.unrealengine.com/u/T4l_R)\
**Post date:** [May 15, 2023, 5:15am UTC](https://forums.unrealengine.com/t/referencing-parameters/1164287/7 "2023-05-15T05:15:53Z")

</div>

Sorry for the late response.  
In that case, if I reference the same array in a function (on the same bp), will modifying that affect the original one?

---

<div class="post-metadata">

**Author:** ![ClockworkOcean](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/clockworkocean/32/1169999_2.png) [@ClockworkOcean](https://forums.unrealengine.com/u/ClockworkOcean)\
**Post date:** [May 15, 2023, 5:59am UTC](https://forums.unrealengine.com/t/referencing-parameters/1164287/8 "2023-05-15T05:59:32Z")

</div>

Modifying an instance of a widget will never affect the original widget code.
