AI reward system for jumping

Hello everybody. I am working on an AI that is completing a Jump and Run with Reinforcement Learning. A problem I am currently facing is the reward system for jumping. How can I give or take away points from my AI when it jumps? I was thinking of measuring the distance to the ground but wasnt able to make any progess. Hope to get an answer.