event.object2

Type DisplayObject
Event collision
Revision Release 2024.3703
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.