Skip to main content

Rect Overlap

rect overlap

Detect whether or not two rectangles boundaries are overlapping.

Input

NameData TypeDescription
EnterExecThe input execution that triggers this node.
ARectThe first rectangle.
BRectThe second rectangle.

Output

NameData TypeDescription
TrueExecExecute the next node when the two rectangles are overlapping.
FalseExecExecute the next node when the two rectangles are not overlapping.

Example

rect overlap example

↓ rect_overlap.zip

Change the rectangular image positions to change their overlap states to trigger the background show/off.

rect overlap node