onTouch

var onTouch: (pos: Xy) -> Unit?

Single pointer touch down event. Lambda Signature: (pos: Xy) -> Unit A touch event is defined as a pointer down and up within a preset time in milliseconds, and pointer movement has to be less than a preset distance in millimeters. "pos" param represents the position where event occurred