Ellipse.collision() - Mtax-Development/GML-OOP GitHub Wiki
Name |
Type |
Optional |
object |
No |
|
precise? |
{bool} |
Yes |
excludedInstance? |
{handle:instance} |
Yes |
list? |
Yes |
|
listOrdered? |
{bool} |
Yes |
includeOutline? |
{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, either inside of this Shape or extended by its outline. 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.