Point.collision() - Mtax-Development/GML-OOP GitHub Wiki
Name |
Type |
Optional |
object |
No |
|
precise? |
{bool} |
Yes |
excludedInstance? |
{handle:instance} |
Yes |
list? |
Yes |
|
listOrdered? |
{bool} |
Yes |
{handle:instance|List}
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.