event.element2

Type Number
Event collision
Revision Release 2022.3683
Keywords collision, element2
See also event.element1

Overview

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

Gotchas

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