Can the FreeCamera be unable to move when I first enter the scene?

    const camera = new BABYLON.FreeCamera('camera', new BABYLON.Vector3(0, 13, 25), scene)
    camera.setTarget(new BABYLON.Vector3(0, 6, 0))
    camera.attachControl(canvas,true)
    camera.keysUp.push(87)
    camera.keysDown.push(83)
    camera.keysLeft.push(65)
    camera.keysRight.push(68)
    camera.speed = 0.6; 
    camera.inertia = 0.8; 
    camera.minZ = -9; 
    camera.maxZ = 10000
    camera.inputs.attached.mouse.detachControl();

Every time you need to move, you have to tap the screen, How to fix it?
I want to be able to move directly every time I enter the scene

Every time you need to move, you have to tap the screen, How to fix it?

How about using enterPointerlock when you enter the scene.
https://doc.babylonjs.com/typedoc/classes/BABYLON.Engine#enterPointerlock