UE4 How to make my character detect the Cliff

Guys, can you guide me to the right direction, I’m kinda feeling lost.