Enum connect to entities?

Ok so I’m trying to do enum’s that connect to the entities ingame anyway to do this?

What do you mean by connect?

like the enum connects with an entity name ball for exp
I want the enum to say something likeenum: [ {'entity':ball},

Not 100% sure what you are looking to do. Sounds like you want an enum option in the editor to be able to reference an entity in the scene? If that’s the case, you can’t.


Closest alternative is an array of entities and an extra attribute to pick the index?

Ok I could try that

I’m not sure what advantage this mapping would give you give over just directly referencing the entity in the scene editor