Press the up and down arrow keys to move and if your touching the wall or the edge then you bounce.
If you want to use it go inside, and you can change the speed by changing the steps number. If you want to change how the sprite moves go to the change movement block delete the scripts on it and put new ones down to make him move they way you want him to. Change the touching sprite to whatever sprite you need in your project as a wall. (: