hit

fun hit(hx: Float, hy: Float): Control?

Attempts to hit a Control node. This will check any children Control nodes first and then itself. This will return null if the control is not enabled or if mouseFilter is set to MouseFilter.NONE.

Return

a Control node that was hit

Parameters

hx

the x coord in global

hy

the y coord in global