For global pre-collision handling, the element (number) of event.object2 which was hit in the collision.
For local pre-collision handling, this property is represented as event.otherElement. See the preCollision index page for object reference variations.
© 2021 Solar2D All Rights Reserved.
Help us help you! If you notice a problem with this page, please report it.
Report an Issue