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

19.3.1 BB

bb = physics.BB(l, b, r, t)

Parameter

Type

Description

l

in number

left

b

in number

bottom

r

in number

right

t

in number

top

bb

out physics.BB

A bounding box with boundaries left, bottom, right, and top

Returns a new bounding box with the given initial edges.

Introduced in platform.apiLevel = '2.0'