VEXcode VR Color enums not found

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;
2 Likes

Worked! Thanks for the suggestion!