Using the InputAxis MoveForward as a event disables forward and backward movement

Was doing a scene where you look through a curtain,
being frozen there and eather Going through it by Pressing the use button (E)
or going back by pressing the backwards button (S).
Problem is, that when i made the evben with InputAxis MoveForward it blocked all forward and backwards movement.
Any way around this?

(I have tried simply binding the event to “S” but it resulted in the same thing though you now could move forward)