KnowledgeBoat Logo

Computer Applications

Which of the following command will prevent your sprite to move off the stage ?

  1. go to x ………. y ……….
  2. set x to ……….
  3. If On edge, bounce
  4. change x by ……….

Scratch

2 Likes

Answer

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.

Answered By

1 Like


Related Questions