this is the code that I used. what this does is it enables me to move the character around on command.