Physics.Arcade.Body#touching

touching : Object

This object is populated with boolean values when the Body collides with another.
touching.up = true means the collision happened to the top of this Body for example. An object containing touching results.

Source code: physics/arcade/Body.js (Line 377)
doc_phaser
2025-01-10 15:47:30
Comments
Leave a Comment

Please login to continue.