Keep a reference to a widget into an array

Hi!

I’m using Unreal 5.2.1.

I create n widgets inside a for each loop:

I want to keep a reference to each of them because I will need to hide or show them.

How can I do it?

I have tried to create an Array, but the Get node returns a copy.

Thanks!

Actor variables (object references) are already references to the actor, so even if you get a copy from an array, it will still be an actor reference that will be added to the array. I hope i’ve solved your problem

1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.