The toggle buttons, when clicked, each act on one of the isKeyed fields; as indicated by the color of the button. For example the Green toggle button will toggle the isKeyed field of the MaterialKey for the 'Green' flower, in the upper left, between true and false, etc. See IBMFlipFlop for the technique used for the toggle.
For the Bitmap geometry of each flower there is a TouchSensor whose isOver field is routed to the filled field of the small circle indicator of the same color at the top of the screen. When the isKeyed field is true only the visible part of the flower should be sensed (Bitmap geometry is defined by non-transparent pixels). When isKeyed is false the entire 150x150 shape will be sensed. Ie when isKeyed is toggled the key color is made transparent or not and hence the geometry is altered with it.
Snapshot with all isKeyed fields true, as at startup
![]() |
Snapshot taken after all isKeyed fields set to false; and pointer over 'green' flower.
![]() |