Game Play :: Collisions

Returns the instance id of an object colliding with a given line and closest to the first point, or noone if no instance found.
collision_normal(x, y, obj, radius, spacing)
Returns a 2D "surface normal" at a point on or near an instance within a test area.
collision_triangle(x1, y1, x2, y2, x3, y3, object)
Returns an object instance id that collides with a given triangle.
Returns the exact distance to the nearest instance of an object in a given direction from a given point, or noone if no instance is found.