If the mouseInfo function returns true

The body of the inner loop in Listing 2 is executed -

Calling the draw function to draw the filled circles shown in Figure 1.