rayCheck

@ApiStatus.Experimental
@Contract(pure = true)
fun rayCheck(it: Drawable, x: Float, y: Float): Drawable?

perform a recursive ray check on the drawable. Each drawable will be checked with Drawable.enabled, then Drawable.isInside, then finally Drawable.acceptsInput before it is considered a valid candidate.

Note that this functions inclusion in public API is experimental.

Since

1.0.7