An example of how you can use one sprite (Sprite1) to create clones of another sprite (Sprite2), and keep track of (and limit) the number of clones. In your project, Sprite 1 might be a cannon, while Sprite2 clones are the cannon balls. All code by me (@kriblo). Commented code inside.