How do I set static mesh component variables

I have a bunch of components that I want to attach Actors to. I have a map that contains a integer and a static mesh component but I cant set the component. if you know of a different variable I could use or if im doing anything wrong any help would be appreciated

Hey there @Catasticfeet! Just to clarify your use case, are you trying to get a reference to the static mesh components inside of an actor BP on the level BP?

I am trying to make an array of these static mesh components but I dont know what variable to use. this is the same actor as the components are in. and the actor is in the level
Screenshot_6

Ahh I see! This is an issue with how the built in variables tied to the actual component are handled. Most time’s I’ve seen users need to contend with this, they frequently opt to handle it at construction like this:

Another way (that is worse unless you need to update the list at runtime with uncertainty) would be to get all children then compare them if there’s other types: