Bounds.overlaps

From MiniScript Wiki
Jump to navigation Jump to search

Bounds.overlaps returns true (1) if the given Bounds object has any overlap with this one, and false (0) if they are non-overlapping.

See also: Sprite.overlaps

Arguments

Parameter Name Type Default Value Meaning
other Bounds null other bounding box to check against

Usage Notes

The coordinate system is arbitrary, but is assumed to be the same for both Bounds objects.