Is there a Listener for Camera Zoom?

Is there a simple way to check for camera input, zoom specifically (pinch and scrollwheel)?

I want to stop some automatic zooming I’m doing when the user manually zooms, I’m not totally clear on custom camera inputs if they are needed.

I saw Babylon.js/arcRotateCameraPointersInput.ts at master · BabylonJS/Babylon.js · GitHub maybe I can check _isPinching (not sure the full hierarchy to get to that though)

Thanks!

Is this the way somehow?

So zooming (no matter what input you use) will change camera.inertialRadiusOffset

So maybe you can do a check per frame of that value?

Oh beautiful thank you so much, my workarounds were going to be a little nasty. That should do the trick.