event.selfElement

Type Number
Event collision
Revision 2017.3178
Keywords collision, selfElement
See also event.otherElement

Overview

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

Gotchas

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