Component.intersect

Checks whether the component intersects with a specific point.

class Component
final
bool
intersect
(
Vector2f p
)

Parameters

p Vector2f

The point to check.

Return Value

Type: bool

True if the component intersects with the specific point, false otherwise.

Meta