event.element2

Type Number
Event postCollision
Revision 2017.3077
Keywords postCollision, element2
See also event.element1

Overview

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

Gotchas

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