i put it in my main funtion,but the same error appears...

Maybe it is not the fog i want to use... I'm looking for a colored fog which only appears on a special place...maybe like a particle effect(magical fog). I tried 'easy particle 3' but it seems hard to create a fog with it. Any other possibility?