Blueprint/Code driven landscape visibility?

This guy does it in this video: https://youtu.be/1U-5zxJCIN4?si=gCg7ARfqOEWSOw09&t=157
I’ve been trying to recreate this, with no luck :frowning: yet