event.object2

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