Sensing

Blocks in this category deal with the current conditions of sprites, the mouse, and the stage. For example, they can detect when sprites are touching, when one color is touching another or the current x and y position of the mouse.

Touching an object

The touching an object block shape

Example

Definition

Alt text

](./assets/

Touching color

The touching color block shape

Example

Definition

Alt text

](./assets/

Color is touching color

The color is touching color block shape

Example

Definition

Alt text

](./assets/

Ask and wait

The ask and wait block shape

Example

Definition

Alt text

](./assets/

Answer

The answer block shape

Example

Definition

Alt text

](./assets/

Mouse x

The mouse x block shape

Example

Definition

Alt text

](./assets/

Mouse y

The mouse y block shape

Example

Definition

Alt text

](./assets/

Mouse down?

The mouse down? block shape

Example

Definition

Alt text

](./assets/

Key pressed?

The key pressed? block shape

Example

Definition

Alt text

](./assets/

Distance/direction to mouse-pointer/center

The distance/direction to mouse-pointer/center block shape

Example

Definition

Alt text

](./assets/

Color setting at mouse-pointer/sprite

The color setting at mouse-pointer/sprite block shape

Example

Definition

Alt text

](./assets/

Reset timer

The reset timer block shape

Example

Definition

Alt text

](./assets/

Timer

The timer block shape

Example

Definition

Alt text

](./assets/

Costume of stage/sprite

The costume of stage/sprite block shape

Example

Definition

Alt text

](./assets/

Sprite properties

The sprite properties block shape

Example

Definition

Alt text

](./assets/

Object

The object block shape

Example

Definition

Alt text

](./assets/

Url

The URL block shape

Example

Definition

Alt text

](./assets/

Microphone

The microphone block shape

Example

Definition

Alt text

](./assets/

Video on

The video on block shape

Example

Definition

Alt text

](./assets/

Set video transparency

The set video transparency block shape

Example

Definition

Alt text

](./assets/

Is a specific video setting on?

The is a specific video setting on block shape

Example

Definition

Alt text

](./assets/

Set video setting to

The set video setting to block shape

Example

Definition

Alt text

](./assets/

Current date/time

The current date/time block shape

Example

Definition

Alt text

](./assets/

Last updated

Was this helpful?