is there a code where the sprite is in the middle of the screen and when I hold down any of these it looks like the character is moving, but actually the screen is?

I have every slide for movements.
and I tried working with to work with it but couldnt seem to get it to work =P