Fandom

Scratch Programming Wiki

Reporter Block

155pages on
this wiki
Add New Page
Talk0 Share

Ad blocker interference detected!


Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.

The shape of a Reporter Block

The shape of a Reporter Block.

A Reporter Block is a block that contains a value. These blocks can contain anything, from numbers to sentences.

ShapeEdit

As Reporter blocks are values, they are designed to fit wherever a value is needed. This can be anywhere: a lot of blocks have spaces in them for input, or Reporter blocks. An example:

Glide () Secs to X () Y ()

This block can easily be filled with Reporter blocks:

Glide (Costume -) Secs to X (X) Y (Y)

UseEdit

As Reporter Blocks are values, they are used whenever a script needs a certain value. These values can be anything - from X positions to the costume number of a sprite.

An example is below:

An example script for the use of Reporter blocks

Note how the Reporter block is used in the script - the script waits until the Reporter block's value reaches a certain point, and then it continues.

Reporter blocksEdit

Also on Fandom

Random Wiki