Bounds.overlaps

From MiniScript Wiki
Revision as of 03:21, 11 July 2021 by JoeStrout (talk | contribs) (Created page with "<c>Bounds.overlaps</c> returns true (1) if the given Bounds object has any overlap with this one, and false (0) if they are non-overlapping. See also: Sprit...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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.