Well there are multiple ways to do this. You could use the simple lighting example (https://editor.construct.net/#open=simple-lighting), or you could add a bunch of black squares or hexagons over the entire layout and then add an event something like this:
-> unit -> is overlapping another object -> fog_of_war
--> fog of war set opacity to 0
Hope this helps,
Give me a Pixel