Just press the space bar to jump and jump over the apples
All the credit should go to the scratch team youtube channel I used their tutorial. Link for the channel - https://www.youtube.com/channel/UCjcQmKeifVUUH5s4E4OrMhg link for the video - https://www.youtube.com/watch?v=1jHvXakt1qw