IHitArea › contains
Unofficial
Checks whether the point is inside the hit area.
Signature:
contains(x: number, y: number): boolean
Parameters:
| Parameter | Type | Description |
| x | number | X coordinate. |
| y | number | Y coordinate. |
Returns: boolean — Whether the point is contained.