event.object2

Type DisplayObject
Event postCollision
Revision Release 2024.3703
Keywords postCollision, object2
See also event.object1

Overview

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

Gotchas

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