Is there an example for selecting a graphic as a button in canvas. Have the canvas created with icons struggling a bit to figure out which is selected.
You have to use the PointerUp and PointerDown events to get the location of a tap on then canvas.
The position is in the pos (xojo.core.point) parameter of the event.
With this information you can evaluate which icon was tapped.