HitTest Skia Touch

Hey,

how can I generate a simple HitTest for a SingleTouch-Screen in Skia, I can’t find the matching node, see patch attached? For the mouse I used ButtonBehavior, now I need the equivalent for a touch.

Many greetings
Jens

Touch.vl (18.3 KB)

I have now used the RectContainsPoint node, which works, but looks a bit awkward. Is there a better, simpler solution?

Touch_02.vl (14.6 KB)