From c175772f425295e4c64a7bce2cfbc08a3d12976a Mon Sep 17 00:00:00 2001 From: Muhammad Muhajir Date: Thu, 25 Apr 2024 20:09:01 +0700 Subject: [PATCH] docs: Update Input docs (#3029) --- site/docs/11-input/10.1-input.mdx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/site/docs/11-input/10.1-input.mdx b/site/docs/11-input/10.1-input.mdx index 965c90a28..befd5fa31 100644 --- a/site/docs/11-input/10.1-input.mdx +++ b/site/docs/11-input/10.1-input.mdx @@ -23,7 +23,7 @@ class Player extends ex.Actor { engine.input.keyboard.isHeld(ex.Input.Keys.W) || engine.input.gamepads.at(0).getAxes(ex.Input.Axes.LeftStickY) > 0.5 ) { - player._moveForward() + // implement the code to move the player forward } } }