How to change field on view depending on a variable ?

Hi everyone !

I am making a racing game with a hovercraft and I want to change the camera’s field of view depending of the hovercraft’s speed.

I have a variable “CurrentHorizontalSpeed” and I know I have to use the fonction “Set Field of View” but it’s the step before this which is complicated.

I want to have a little lerp too to adjust the camera when the speed increases.

Actually, I tried to use a Timeline and play with the two variables but I don’t know how to connect the Speed variable to the Field of View.

Thanks a lot for your answers.