Physics.Arcade.Body#radius

[readonly] radius : number

The radius of the circular collision shape this Body is using if Body.setCircle has been enabled.
If you wish to change the radius then call setCircle again with the new value.
If you wish to stop the Body using a circle then call setCircle with a radius of zero (or undefined).

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

Please login to continue.