From 90799f39ed30a311e6024e6d9dd9d82ff875ade4 Mon Sep 17 00:00:00 2001 From: samme Date: Tue, 22 Aug 2023 08:48:01 -0700 Subject: [PATCH] Docs: StaticBody#reset description --- src/physics/arcade/StaticBody.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/physics/arcade/StaticBody.js b/src/physics/arcade/StaticBody.js index 97e795d92..518915ee9 100644 --- a/src/physics/arcade/StaticBody.js +++ b/src/physics/arcade/StaticBody.js @@ -690,7 +690,10 @@ var StaticBody = new Class({ }, /** - * Resets this Body to the given coordinates. Also positions its parent Game Object to the same coordinates. + * Resets this Static Body to its parent Game Object's position. + * + * If `x` and `y` are given, the parent Game Object is placed there and this Static Body is centered on it. + * Otherwise this Static Body is centered on the Game Object's current position. * * @method Phaser.Physics.Arcade.StaticBody#reset * @since 3.0.0