How do i make the dynamic fov smoother and only trigger when moving forwards?


Here I check the axis value of my InputAxis Move Forward:


If the value is greate than 0, change the FOV to a bigger number, if it is not go back to normal FOV (here 90).