basically press right arrow to go right and left for left. to eat the apple press the a key to do it again(bring the apple back) press the w key and ya... hope u guys enjoy have an awesome day!
i wanna thank Mr Cash the guy who introduced me to scratch and also (while teaching me how to use it) used an example similar to this.