How to get a variable from actor in a list of objects?

I think I understand better what you are trying to do.

A structure is just an array that can store different Types of data. A blueprint, a float, a text variable…

That is why I suggested it - since you are asking about references to Actors/Pawns and various variables associated to them.