event.selfElement

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

Overview

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

Gotchas

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