I need help on a condition.
In my game, when the "Ball" button is toggled, you automatically spawn balls when the left mouse button is down. The bug starts when you click the "box" button, and then click the "ball" button again. You can no longer spawn balls while the left mouse button is down. There is also this feature that I put in that if you hold the right mouse button, and your mouse is over a ball, the ball gets deleted. This seems to get disabled too.
Download .cap here: