event.object2

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

Overview

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

Gotchas

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