RoundRectangle.collision() - Mtax-Development/GML-OOP GitHub Wiki
Name |
Type |
Optional |
object |
{int:object} |
No |
precise? |
{bool} |
Yes |
excludedInstance? |
{int:instance} |
Yes |
list? |
Yes |
|
listOrdered? |
{bool} |
Yes |
{int|List}
Check for a collision within this Shape with instances of the specified object, treating this Shape as an unrounded Rectangle. 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. If specified, the additions to that List can be ordered by distance from the center of the Shape.