3D Lingo Dictionary > E-K > enabled (collision) |  |

enabled (collision)

Syntax

    member(whichCastmember).model(whichModel).collision.enabled

Description

3D collision property; allows you to get or set whether (`TRUE`) or not (`FALSE`) collisions are detected on models. Setting this property to `FALSE` temporarily disables the `collision` modifier without removing it from the model.

The default setting for this property is `TRUE.`

Example

This statement activates the `collision` modifier for the model box.

    member("3d world").model("box").collision.enabled = TRUE

See also

`addModifier`, `collision (modifier)`, `modifier`