Skip to content

Overlaps

Description

Overlaps is an Extension Function on Rect
Returns true if the given Rects overlap each other.

Example
local testVariable = Rect.New(0, 0, 50, 50).Overlaps(Rect.New(0, 0, 50, 50))
Usage

network usage: Any (Client or Server/Host)
returns: bool
parameters:
- a (Rect)
- b (Rect)