event.object2

Type DisplayObject
Event preCollision
Revision 2017.3060
Keywords preCollision, object2
See also event.object1

Overview

For global pre-collision handling, the reference to the second object in the collision.

Gotchas

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