event.element2

Type Number
Event preCollision
Revision Release 2024.3703
Keywords preCollision, element2
See also event.element1

Overview

For global pre-collision handling, the element (number) of event.object2 which was hit in the collision.

Gotchas

For local pre-collision handling, this property is represented as event.otherElement. See the preCollision index page for object reference variations.