This page contains changes which are not marked for translation.

Available since: Gideros 2020.9
Class: math


Check if a point is inside or outside a shape.

(number) = math.inside(point,shape)


point: (table) The point to test
shape: (table) The shape to test against (see math.raycast)

Return values

Returns (number) A positive value if the point is outside, negative if inside, or 0 if on the edge