[SOLVED] Camera zoom on mouse right

How would I make it so when I press the right mouse the camera field of view changes?

Hi @Mason_Rocchio! Do you want to change the field of view or zoom in the camera? I think this is a different behavior.

I want it to zoom in when the right mouse is pressed but when it is released it goes back to normal.

Hey @Mason_Rocchio,

I made a very simple project for you to check. The logic is inside zoom-camera.js. Hope it helps!


It worked nicely thanks.

1 Like