Creating multi-type array?

Obviously I know that an array only can contain one type, but I need to expose two different values (an actor and a float value) and each time you add an item both should appear since one has no sense without the other.

I’ve seen that in some videos but only working with them and not how it was constructed.

Any idea on this? thank you in advance.

A Map should be a suitable solution

You may also use a struct that contains your Actor and your float. and make an Array of that struct