19.5.6 group

g = physics.Shape:group()

Parameter

Type

Description

self

in physics.Shape

The input Shape

g

out number

The assigned group number

Returns the group number of the shape.

Note

The group number is converted to a positive whole number when stored.

Introduced in platform.apiLevel = '2.0'