Click on the green flag and the apple will ask you to enter the value of x & y and after entering the coordinates the apple will go to the position.
I did this project as part of my course so pls like and foolow me.