You can use the variables already shown to move the screen, and you can use the x and y variables individual to each sprite to move the very sprite. There are instructions inside for how to move over to any project
This was made just by me. Of course some ideas were taken from other works, but a sprite moving in sync with a box is too broad of an idea to credit anyone for it.