Camera movement forwards and backwards on mouse click

I am trying to replicate the camera move on button click show here

But I am not sure how he is creating the set initial mouse position x and initial mouse position y after input actiion

also later later after he goes from make vector 2s he has initial mouse position but I am not sure how I am supposed to add this into my blue print.

Is this what you are asking for?