From 6f06f278381a4bd5bb4e105e898492b60f177562 Mon Sep 17 00:00:00 2001 From: JCGameDev <95277271+jcdevgame@users.noreply.github.com> Date: Mon, 10 Jun 2024 10:38:53 -0400 Subject: [PATCH] Update README.md --- README.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 3607bd9..6d3b27f 100644 --- a/README.md +++ b/README.md @@ -83,7 +83,8 @@ All of these different classes with their methods, properties, will become incre - `flipHorizontally` - `flipVertically` #### Methods: -- `findObjectByName(classNameToFind)` (Used to find and gives the ability to change the properties of another sprite) +- (To program something and change properties of the sprite that your programming into, make sure to use `this`. E.g: `this.x` +- `findObjectByName(classNameToFind)` (Used to find and gives the ability to change the properties of another sprite). E.G: `let lol = this.findObjectByName('block2'); lol.x += 5` - `movementDefault()` - `update()`