From d435811ce586f7630029ef285243e7c2cc69b2df Mon Sep 17 00:00:00 2001 From: Erik Onarheim Date: Wed, 27 May 2026 17:10:29 -0500 Subject: [PATCH] docs: correct typos in actor jsdoc closes: #3696 --- src/engine/actor.ts | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/engine/actor.ts b/src/engine/actor.ts index a1053e6a..f71b7789 100644 --- a/src/engine/actor.ts +++ b/src/engine/actor.ts @@ -116,8 +116,7 @@ export type ActorArgs = ColliderArgs & { */ material?: Material; /** - * Optionally set the color of an actor, only used if no graphics are present - * If a width/height or a radius was set a default graphic will be added + * Optionally set the opacity of an actor, only used if no graphics are present */ opacity?: number; /** @@ -129,7 +128,7 @@ export type ActorArgs = ColliderArgs & { */ anchor?: Vector; /** - * Optionally set the anchor for graphics in the actor + * Optionally set the pixel offset for graphics in the actor */ offset?: Vector; /** -- 2.51.2