Computer Science, asked by SecretFruity, 11 months ago

What is function of the motion block ? State any three codes of the motion block ?​

Answers

Answered by adityajadhav192005
36

Answer:

The Motion Blocks. Motion Blocks are one of the eight categories of Scratch blocks. They are color-coded dark-blue, and are used to control a sprite's movement.

There are currently 18 Motion blocks: 15 stack blocks and 3 reporter blocks.

Answered by Nereida
13

\huge\star{\green{\underline{\mathfrak{Answer :-}}}}

  • Motion block helps in controlling the movement of the sprite.

  • There are in total 13 stack blocks and 3 reporter blocks.

  • They are colour-codes as dark blue.

  • The three codes of motion blocks are explained further :

  1. If on edge,bounce: If the sprite while moving reaches the end of the stage, then it bounces backwards.
  2. Move () steps: It helps the sprite to move a certain number of steps forward.
  3. Go to (): It moves the sprite in the position specified.

There are other codes like :-

Stack block codes :-

  • Turn () Degrees (Clockwise)
  • Turn () Degrees (Counter-clockwise)
  • Point in Direction ()
  • Point Towards ()
  • Go to X: () Y: ()
  • Glide () Secs to X: () Y: ()
  • Change X by ()
  • Set X to ()
  • Change Y by ()
  • Set Y to ()

Reporter block codes :-

  • X position
  • Y position
  • Direction

_________________

Similar questions