What's New in Director 8.5 > Working with Models and Model Resources > Primitives > Box properties |  |

Box properties

Boxes have a `type` property of `#box`. Box properties can be modified or animated at run time.

Property | Access | Description | Value Range
--- | --- | --- | ---
`height` | Get and set | Height of the box, measured along the Y axis. | Positive floating-point value. The default is `50.0`.
`width` | Get and set | Width of the box, measured along the X axis. | Positive floating-point value. The default is `50.0`.
`length` | Get and set | Length of the box, measured along the Z axis. | Positive floating-point value. The default is `50.0`.
`top` | Get and set | Value indicating whether the top of the box is closed or open. `TRUE (1)` = closed. | `TRUE (1)` or `FALSE (0)`. The default is `TRUE (1)`.
`bottom` | Get and set | Value indicating whether the bottom of the box is closed or open. `TRUE (1)` = closed. | `TRUE (1)` or `FALSE (0)`. The default is `TRUE (1)`.
`front` | Get and set | Value indicating whether the front of the box is closed or open. `TRUE (1)` = closed. | `TRUE (1)` or `FALSE (0)`. The default is `TRUE (1)`.
`back` | Get and set | Value indicating whether the back of the cylinder is closed or open. `TRUE (1)` = closed. | `TRUE (1)` or `FALSE (0)`. The default is `TRUE (1)`.
`left` | Get and set | Value indicating whether the left end of the box is closed or open. `TRUE (1)` = closed. | `TRUE (1)` or `FALSE (0)`. The default is `TRUE (1)`.
`right` | Get and set | Value indicating whether the right end of the box is closed or open. `TRUE (1)` = closed. | `TRUE (1)` or `FALSE (0)`. The default is `TRUE (1)`.
`lengthVertices` | Get and set | Number of vertices along the length of the box. Increasing the number of vertices improves lighting effects. | `2` or more. The default is `4`.
`widthVertices` | Get and set | Number of vertices along the width of the box. Increasing the number of vertices improves lighting effects. | `2` or more. The default is `4`.
`heightVertices` | Get and set | Number of vertices along the height of the box. Increasing the number of vertices improves lighting effects. | `2` or more. The default is `4`.