Picture movement (Help!)

Hello! I'm having a bit of trouble in RPG maker VX Ace. 

I would like to have the player push the left and right buttons in order to make a picture slide left and right on the screen. 
I'm having difficulties making this type of thing work. 

Does anyone know how I can event this? 

Or have a script that does this type of thing. 

Thank you in advance. 
You don't need a script (and if anyone suggests one, I recommend you try and do it without scripts first - if it's not working, show us how you have things set up and let us help you troubleshoot - way too many people resort to scripts when they're not necessary, without allowing enough time to figure out, and learn, the capabilities of events).


You can use a parallel process event to monitor for the left/right buttons being pressed. When you show the picture, put the x and y positions into two variables.


When the buttons are pressed, determine if it needs to move right or left, and subtract or add 10 (or however many pixels you want to use) to the variable containing the x position. Then do a Move Picture, using the variables to indicate the new location. Keep the Wait for Completion box checked so the move can be completed before the event checks for a button press again.

Original thread: https://forums.rpgmakerweb.com/threads/picture-movement-help.38851/