Getting input direction/vector when character isn't moving?

I have a climbing state that I’m working on that has a line trace to detect edges. When the line trace doesn’t hit anything it sets a boolean to false to prevent character movement. How can I rotate that line trace towards my input direction even if the character is not moving? Things like “Last Input Vector” return 0 when the character is stopped.

Do you have it set up similar to this? Using a Single Line Trace (Raycast) by Channel | Unreal Engine 4.27 Documentation