How can just deactive mouse wheel event on arcrotatecamera

hi
i just wanna deactivate mouse wheel event and other event work
i dont wanna keep camera.radius fixed so i just wanna when mouse wheel happen the canvas not get any event
thanks

Hello juste remove the wheel camera input manager from the camera:
https://doc.babylonjs.com/how_to/customizing_camera_inputs

2 Likes

thanks

camera.inputs.remove(camera.inputs.attached.mousewheel);
2 Likes