Does has_point() count points on the boundary of a Rect2?

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By Diet Estus

If a point lies on the boundary of a Rect2, will has_point() return true, or must the point be properly inside the rect?

Similarly, will a RayCast2D cast to Vector2(0,1) count as colliding with the top left corner of a rectangular StaticBody2D, assuming it’s positioned right above that corner?