Physics.Arcade.Body#onCeiling()

onCeiling() → {boolean}

Returns true if the top of this Body is in contact with either the world bounds or a tile.

Returns
boolean -

True if in contact with either the world bounds or a tile.

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

Please login to continue.