Why don't place two sprites, one red, one green, with the same name and set one of them to start off.
When you trigger it, the one that start off, will turn on, and one already turned on, will be turned off.
With this setup you don't even need an env_render.