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

19.3.12 setl

self = physics.BB:setl(left)

Parameter

Type

Description

self

in physics.BB

The input bounding box

left

in number

The new value for the left edge of the bounding box

self

out physics.BB

The input bounding box is returned as the output

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

Introduced in platform.apiLevel = '2.0'