What is the significance of the command 'if on edge, bounce'?
Name and state any three commands of the Pen Script.
Answers
Answered by
4
Answer:
if the sprite is on the edge of the screen the it will bounce to the beginning
pen up,pen down,set pen color to so and so color etc
Answered by
2
Answer:
The If on Edge, Bounce block is a Motion Block and a Stack Block. The block checks to see if its sprite is touching the edge of the screen with the move steps block — and if it is, the sprite will point in a direction that mirrors the direction from which it was coming.
Pen Blocks
Erase All — Clears all pen marks on the screen.
Pen Down — Turns the pen feature on inside a sprite; the sprite will pen on the screen wherever it moves until the pen is turned off.
Pen Up — Turns the pen feature off, stopping a sprite from penning.
Similar questions
Biology,
1 month ago
English,
1 month ago
English,
2 months ago
Social Sciences,
2 months ago
English,
8 months ago