making shadow and vision for game

ow can i make this shadow and player vision in unreal engine if you guide me i will be Grateful
i want to make a vision that if player is not be in the vision cant be saw the map have shadow and you can see the zone that you not in there like project zomboid and league of legends like this photo



It’s generally referred to as Fog of War and it is definitely too involved to be explained here.

You may have some luck with tutorials on YT:

Not sure if any of these are any good, you may need to scrub and see for yourself. Alternatively, have a look at the UE4 marketplace, I’ve seen at least a couple of implementations.