How would i create a fog effect with limited vision

I want to make a kinda horror type of game but im not sure how i would make the fog effect work. I tried the normal clouds but it didnt hide enough of what i want. Ive seen what im looking for in this code: HHHPHB. but its too extensive and i crash when i try and look at it. any help would be great, thank you.

If it’s a density issue, I think it’s easiest to simply place multiple cloud effects.

If it’s a position issue, you can always block the player’s view by pinning a small cloud just beyond the player’s line of sight.

Have you played any of the Among Us games? They have fog. Load up code BAK10 and look at the rule (Player) in-game reset. Scroll down to the fog subrules. I’m sure those subrules could be simplified, but I don’t know enough about code to do that.