How I can stop the camera completely?

There is one way to stop any camera movement like on this site

1 Like

Something like this - Babylon.js Playground
You’ll need to define the best values for your case with

1 Like

I don’t want anything to move ! because I want to use the mouse event for another thing.
on this playground the camera move to the top.

Just detach the camera controls: camera.detachControl();

not working for me

thats my code

    export const LoadScene = (e: any) => {
  const { canvas, scene, engine } = e;

  var camera = new BABYLON.ArcRotateCamera(

  camera.lowerBetaLimit = 1;
  camera.upperBetaLimit = 1;
  camera.attachControl(canvas, true);

  //   keyboardRotate"
  var light = new BABYLON.HemisphericLight(
    new BABYLON.Vector3(0, 1, 0),

  light.intensity = 0.7;

  engine.runRenderLoop(() => {
    if (scene) {


At your example the camera isn’t completely stopped; one can even see it’s changing alpha and beta values while browsing the model.

If you want to disable vertical movement just use the same values for upper and lower beta limit -
If you want to disable camera competely - use camera.detachControl();

I did what you say, now when I mouse hover the object make something like zoom and go in another side following the mouse.

Do you mean you’d like something like that - ?

if you want to drag a bitmap over a terrain: