Point.collision() - Mtax-Development/GML-OOP GitHub Wiki

Arguments

Name
Type
Optional
object
{handle:object|handle:instance}
No
precise?
Yes
excludedInstance?
{handle:instance}
Yes
list?
Yes
listOrdered?
Yes

Returns

{handle:instance|List}

Description

Check for the presence of precise colision masks or bounding boxes of all instances of the specified object or a single specified instance at the location of this Shape. An ID of any matching instance or {noone} will be returned, unless specified to return them in a List, in which case any matching IDs will be added at the end of it. These additions can be specified to be ordered by distance from the center of this Shape. An instance can be specified to exclude it from the result.

⚠️ **GitHub.com Fallback** ⚠️