Thank you! Yes, it's kind of a pathfinding, though it's a pre-built function in the engine I used (GameMaker).
Oh sorry about that, I honestly didn't know there were other types of keyboard. Definitely will have more control options next time. Thanks for letting me know!