Trying to make an imput that moves the character in a specific way

Hello good sirs. I’ve been trying to make a mechanical button press that suddenly moves the character left or right in a dodge fashion but the best i could find is using root motion in an animation which i feel won’t give me the control i desire. I get as far as putting the imput in and on the event page i believe I’ve found the node to use but I’m unsure what to plug into it. Unfortunately the more videos i watch the more confused i get as to what’s actually required. Any assistance is greatly appreciated ive been searching for 3 days and i really feel like i need my core movement mechanics in order to properly assemble the state machines but i also find those unusually complicated. Creating functions don’t make sense to me on a fundamental level unfortunately so literally any information is good information. If you think you also had issues making things click please share the experience. Much appreciated for any and all responses.