event.otherElement

Type Number
Event postCollision
Revision Release 2022.3683
Keywords postCollision, otherElement
See also event.selfElement

Overview

For local post-collision handling, the element (number) of event.other which was hit in the collision.

Gotchas

For global post-collision handling, this property is represented as event.element2. See the postCollision index page for object reference variations.