CBSE Class 9 Computer Applications
Question 12 of 35
Scratch Programming I — Question 6
Back to all questions 6
Question Question 6
Which of the following command will prevent your sprite to move off the stage ?
- go to x .......... y ..........
- set x to ..........
- If On edge, bounce
- change x by ..........
If On edge, bounce
Reason — If On edge, bounce command checks to see if the sprite is on the edge of the stage. If the sprite is on the edge, then it flips the sprite around so that it faces the other way. Thus, the sprite cannot get off the stage.