#N canvas 962 130 594 420 12; #N canvas 1562 730 450 300 template 1; #X obj 29 155 outlet; #X obj 30 45 filledpolygon -xv clr clr 0 posx posy posx posy(0:200)(50:250) posx(0:200)(50:250) posy(0:200)(50:250) posx(0:200)(50:250) posy; #X obj 29 127 struct rect float posx float posy float clr; #X connect 2 0 0 0; #X restore 97 312 pd template; #N canvas 1552 327 450 300 data 0; #X coords 0 0 100 100 100 100 2 0 0; #X restore 86 183 pd data; #X obj 94 136 s pd-data; #X obj 98 347 print; #X msg 127 95 clear; #X msg 103 23 scalar rect 20 20 345; #X msg 124 53 scalar rect 40 40 456; #X text 69 18 1; #X text 68 58 2; #X text 196 185 3 Click on the rectangles. Clicks should be reported; #X connect 0 0 3 0; #X connect 4 0 2 0; #X connect 5 0 2 0; #X connect 6 0 2 0;