Answer for anyone who googles with similar: Use a timer and every tick of the timer make it apply forward input, same as the programming for the W key. So every tick of the timer, its applying movement.
(When you hold down W, its essentially ticking with forward input(as long as W is held) and moving you forward every frame based on walk speed)