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

19.5.3 collisionType

coll = physics.Shape:collisionType()

Parameter

Type

Description

self

in physics.Shape

The input Shape

coll

out number

The programmer-assigned integer collision type

Returns the integer collision type of the Shape.

Introduced in platform.apiLevel = '2.0'