While they are related, yes, the two problems are very different in nature. For this question I just wanted an easy way to create a switch based on input from the raw input of the keyboard for key mapping (easier to read), for the other I need to figure out how to move the sprite from one location to x other locations with out having to write an exponential amount of if/if else statements.