When you move the sprite up so it goes up and when you press down so it goes down. you need to catch the apple by movig up and down . and tell me your score.
Credits to @Reem_alnajjar and @EIMASZAINAB