You are here: Lua Scripting Resources eGuide > Lua Scripting API Reference Guide > Physics Library > pointQuery

19.12.1 pointQuery

bool = physics.Shape:pointQuery(point)

Parameter

Type

Description

self

in physics.Shape

The input Shape

point

in physics.Vect

A point

bool

out boolean

True if point lies within the bounds of Shape

Returns true if point lies within the Shape.

Introduced in platform.apiLevel = '2.0'