Why am I unable to get a reference to an item from an array in blueprint?

I appreciate the reply and I’ve actually already watched both of those. My issue isn’t that I can’t get it to work, it’s more the fact that in my opinion “Get by reference” is such a core feature that I don’t understand why I’d need to implement something like that on my own. It is clearly supposed to be on the Array-class already but the editor just doesn’t allow using it.

I fixed it by creating a custom-widget that includes a Button-widget and an ID-variable (similar to what you suggested). It just seems unnecessarily complicated. When I’ve already defined an array that has a unique index for each element it contains I should be able to reference those elements. In code it would be as simple as: “var v = array[0];”

1 Like