From f2b0eea50b9e388b18f6eab75654e356b9b641a8 Mon Sep 17 00:00:00 2001 From: seichen Date: Tue, 5 Mar 2024 11:36:00 -0600 Subject: [PATCH] fixed --- src/graphics/thing.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/graphics/thing.js b/src/graphics/thing.js index c2641fdf..6fa84254 100644 --- a/src/graphics/thing.js +++ b/src/graphics/thing.js @@ -648,7 +648,7 @@ class Thing { * // this method is on every Shape * let thing = new Thing(); * // center the object around its position - * thing.setPosition({vertical: 0.5, horizontal: 0.5}); + * thing.setAnchor({vertical: 0.5, horizontal: 0.5}); * * @param {{vertical: number, horizontal: number}} anchor */