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