public containsPoint(x as Int, y as Int) as Boolean:
Returns true when a point is inside this widget bounds.
print(widget.containsPoint(20, 30))