I believe you cannot click on a "thread". You to determine out how to detect click events on the various bouncing ball elements - whatever they may be, use that to change some state variable, and...