Circle.collision() - Mtax-Development/GML-OOP GitHub Wiki
Name |
Type |
Optional |
object |
No |
|
precise? |
{bool} |
Yes |
excludedInstance? |
{int:instance} |
Yes |
list? |
Yes |
|
listOrdered? |
{bool} |
Yes |
{int|noone|List}
Check for a collision within this Shape with instances of the specified object. Returns the ID of a single colliding instance or {noone}
. If List use is specified, a List will be returned instead, either empty or containing IDs of the colliding instances. The additions to that List can be ordered by distance from the center of the Shape if specified.