Arrow keys to move. Take out the if and leave the Change Y by yDirection block in the movement script and you have 8 directional movement.