/ moving = true;
        }
        if (keys.left) {
          velocity.x -= speed * timeDiff;
          // moving = true;
        }
        if (keys.right) {
          velocity.x += speed * timeDiff;
          // moving = true;
        }
        if (keys.space) {
          velocity.y += speed * timeDiff;
          // moving = true;
        }
        if (keys.ctrl) {
          velocity.y -= speed * timeDiff;
          // moving = true;
        }

        // if (moving) {
          // velocity.multiplyScalar(