Returns true if the Rect2 contains a point, or false otherwise.
Namespace:
Godot
Assembly:
GodotSharp (in GodotSharp.dll) Version: 1.0.0
Syntaxpublic bool HasPoint(
Vector2 point
)
Parameters
- point
- Type: GodotVector2
The point to check.
Return Value
Type:
BooleanA bool for whether or not the rect contains `point`.
See Also