Introduction to Sensing Blocks

Sensing blocks are the blocks that detect things. There are 21 Sensing blocks in Scratch 3.0.

Scratch 3.0 has the following three Sensing Stack blocks:

  • — An input box appears — you type the value in and it stores the value in the answer variable.

  • — Resets the timer.

  • — Sets the sprite to draggable or not draggable.

Scratch 3.0 has the following five Sensing Boolean blocks:

  • — The condition for checking if the sprite is touching the mouse-pointer or another sprite.

  • — The condition for checking if the sprite is touching a specific color.

  • — The condition for checking if a color on the sprite is touching a specific color.

  • — The condition for checking if the specified key is being pressed.

  • — The condition for checking if the mouse is down.

Scratch 3.0 has the following ten Sensing Reporter blocks:

  • — The distance from the sprite to the mouse-pointer or another sprite.

  • — The most recent input with the block.

  • — The mouse-pointer’s X position.

  • — The mouse-pointer’s Y position.

  • — How loud the noise is that the microphone is sensing.

  • — How much time has passed since the Scratch program was opened or the timer reset.

  • — The X position, Y position, direction, costume, size or volume of the Stage or a sprite.

  • — The specified time unit selected.

  • — The number of days since 2000.

  • — The username of a user.