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

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'