From dfcff7eabb884bec0adac09bf0a87e713b512ecf Mon Sep 17 00:00:00 2001 From: SimonezYT Date: Tue, 24 Mar 2026 08:17:16 +0100 Subject: [PATCH] fix --- script-test.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/script-test.js b/script-test.js index 0156d29..4e00d8d 100644 --- a/script-test.js +++ b/script-test.js @@ -242,7 +242,7 @@ function spawn(obj) { // 5. MOVIMENTO E COLLISIONI const arrow = false; const keys = {}; -document.onkeydown = (e) => {keys[e.code] = true; console.log(e.code)}; +document.onkeydown = (e) => keys[e.code] = true; document.onkeyup = (e) => keys[e.code] = false; // Setup Raycaster (fuori dal loop animate)