Scripting API
ReactiveModule
Box2D

Box2D

The Box2D class describes a 2D bounding box value.

Properties

PropertyDescription
center
(get) center: Vec2
(set) (Not Available)


Returns the point at the center of the box.
height
(get) height: number
(set) height: number


Specifies the height of the box.
width
(get) width: number
(set) width: number


Specifies the width of the box.
x
(get) x: number
(set) x: number


Specifies the x coordinate.
y
(get) y: number
(set) y: number


Specifies the y coordinate.

Methods

This module exposes no methods.