19.5.4 data

obj = physics.Shape:data()

Parameter

Type

Description

self

in physics.Shape

The input Shape

obj

out Lua object

The programmer-assigned data object assigned to this Shape

Returns the contents of the programmer data field of the Shape.

Introduced in platform.apiLevel = '2.0'