When we right click we will zoom in the field of view, reduce mouse sensitivity and reduce walking speed.
Assign right-click to the action
Add an export var called aim_multiplier
This controls how much we zoom in by
Because we have TWO cameras
We must control the FOV on both of them
Right click on each camera
Set as Unique name on both
Add onready vars as references to the cameras
And to store the starting FOV of each camera
Implementing zooming by changing fov
When pressing right mouse button
Animate the zoom using LERP
If right mouse is released
Return FOV to starting value
By multiplying mouse_motion
In the _physics process function
Reduce the walking speed when zoomed
By multiplying velocity by the aim_multiplier