Thanks for letting me know about ListenForInputAction! Understanding how keyboard inputs work in Unreal made it a lot easier to implement. I followed along the instructions in this video which explained everything well.