Simple. Just click the apple to get apples. When you see that some foods that are faded that means you don't have enough apples but when there not faded that means you can buy it.
Thanks scratch team for the tutorial. If this game gets 10 views, I will add an update.