Your goal is to press the space bar as soon as the griffin touches the edge.
Look at this project: https://scratch.mit.edu/projects/1385014977/