Hello. Im trying to pick the last created object but i can't seem to make it work.
I have a global variable Ballz. which is at 1 at startup, when the player clicks the ball is dropped and if the ball hits a ring, 1 is added to the Ballz variable, that way the player can keep going till he/she runs out of luck.
Question 1 is: how do i target the last dropped ball ?
Question 2 is: how do i detect when the ball isn't bouncing anymore ?
Hint: The game is over when the ball isn't bouncing anymore.