Super easy question: make a bouncing ball appear with a press of the keyboard!
in
Programming Questions
•
2 years ago
Hello there.
I've what seems like a simple request, how can I make a bouncing ball appear (and then disappear) by pressing a key? I've been able to create the bouncing balls but they appear when Processing starts. I'd like to be able to trigger them via different keys (ball 1 with the '1' key, ball 2 with '2' etc.).
Any ideas/help?
Thanks in advance!
1