Computer Science, asked by abhishekjhaashutosh, 3 months ago


What is the significance of the command 'if on edge, bounce'?
Name and state any three commands of the Pen Script.​

Answers

Answered by GameInfreeks
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 TanishkaChaudhari
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