Touching the ground (stage)

Is there a way to code for touching the ground (stage)? For example, I’m designing a parkour course. I’d like it if the player touches the water (stage) they start again.

Please take a look at this answer on a similar question.