say my player walks into a certain invisible brick, how could I make it so that his vision is limited while inside it?
edit: I got a good answer but I guess I should've been more specific, think of it as fog.
if you mean make everything dark, you will have to: