Hello,
Im just starting with Greenfoot, and I am making a basic game in wich i want to have a certain number of apples fall down from the top to the bottom of the world, and when they hit the bottom they disapear. The thing is, I want to make it so when the total number of apples on the screen is less than lets say 6, a new number of apples spawn so the total number of apples is equal or greater than 6. How do i count the total number of apples on the screen at any given time? The plan is to use the counting command within an if statement
Thanks in advance

