Array multiple types?

Is there any way to have an array with each item being Int:Vector? I know Structs can but are slow.

What do you mean by Int:Vector ?

image

It’s a structs in the engine. Confused by the question, though.

1 Like

Sorry … multiple variable types with not being a Struct, so (Int):(Vector) which can be done by Map but more than 2.

You need a map

I didn’t mention, the biggest problem is having the same values …
3:(…) / 3(…)

Yeah, in a map you can’t have repeated keys.

If you want that, either go for structs, or two arrays.

1 Like

Ok thanks.