Learn Create Your Own Split Screen

Next Page

Let's tidy up, put things in a function, and do something useful like leave a trail.

We do this by drawing a small circle with each move notification, and cunningly, not doing a clearRect() so a trail gets created.