I’m trying to use the Color enums to define some variables, but VEXcode doesn’t seem to recognize them:
enemy_color = Color.BLUE
> NameError: name 'Color' is not defined```
Does anyone know how to resolve this issue?
I’m trying to use the Color enums to define some variables, but VEXcode doesn’t seem to recognize them:
enemy_color = Color.BLUE
> NameError: name 'Color' is not defined```
Does anyone know how to resolve this issue?
I believe you can do it like this although I don’t know what you are using it for.
color Opposing_Alliance = blue;
Worked! Thanks for the suggestion!