How to fix up my blueprints

I’m trying to make my character slide left (Y - 10) when A is pressed while endlessly running forward (X 1), like an endless runner like Subway Surfers. Whatever I have tried, it doesn’t work or my character slides left without stopping.

Here is my Blueprint for sliding left:

triggered behaves like tick so you can Plug AddActorLocalOffset directly into that

Hey there @UrLocalMealMates! Welcome to the community! As Auran mentioned, the Triggered input action node fires every tick while the input is held down, so you’d want to use Started instead for single instance presses.

The timeline as it is now is only firing the nodes after it for the duration of the timeline and then stopping. I’d recommend having a lane system instead of additive movement left or right, kind of like this video does and interpolate between them.

Disclaimer: One or more of these links are unaffiliated with Epic Games. Epic Games is not liable for anything that may occur outside of this Unreal Engine domain. Please exercise your best judgment when following links outside of the forums.