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

19.3.13 setr

self = physics.BB:setr(right)

Parameter

Type

Description

self

in physics.BB

The input bounding box

right

in number

The new value for the right edge of the bounding box

self

out physics.BB

The input bounding box is returned as the output

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

Introduced in platform.apiLevel = '2.0'