19.4.7 data

obj = physics.Body:data()

Parameter

Type

Description

self

in physics.Body

The input Body

obj

out Lua object

An object previously set on the Body by the programmer

Returns the contents of the programmer data eld of the Body.

Introduced in platform.apiLevel = '2.0'