Disable world environment

Godot Version

godot 4.3

Question

I want to disable a world environment through code (turn on and off) how do i do that? is there just any on or off var?

I dont think you can turn it off directly, but you can save the environment resource and set it to null in the worldenvironment to turn it off and set it back to the resource when you want it to appear again

1 Like