So I am extremely new to Processing, as in I've been working in it for a week now and am having some issues.
I'm currently writing a very basic program that will eventually be a very simple billiards type game(a green background and when clicked a ball appears, the second time another ball appears and on the third click the first ball hits the second off the screen). However I am having a hard time getting it to work. I keep getting "unexpected token:void" when I try to render. I have checked and rechecked for different simple mistakes and I'm still unsure of my problem. Here is what I have written so far: