Add enum as type

Enum shall be possible as type. Something like:

static enum interaction_types = {
None=0;
Hide=1;
Push=2}
When you call your value, you cast interactions_type.Hide in a variable of type interactions_type for instance.

The enum avoid this way error in string leading to buggy behaviour. The enum type and values could be defined in the project variable. The type is not modified during the game, only the value of variables of the type. When you select your enum assign value, you have a selection list (similar to what is offered for some behavior properties or function arguments).

i always wondered why do we not have enums in the scene variables. though i’m sure it won’t be high in priority since behaviours, like you said, already have enums