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

19.3.14 sett

self = physics.BB:sett(top)

Parameter

Type

Description

self

in physics.BB

The input bounding box

top

in number

The new value for the top edge of the bounding box

self

out physics.BB

The input bounding box is returned as the output

Sets the top edge of the bounding box to a new value. Returns self.

Introduced in platform.apiLevel = '2.0'