Contents
Sensing code blocks allow your program, sprites and objects to sense the stage.
This code block detects when something is touching the mouse pointer.
This code block detects when something is touching the edge.
This code block detects when something is touching a specified color.
This code block detects when two specified colors are touching.
Code
This code block detects the distance to the specified object (for example, mouse pointer).
mouse pointer
You may get input from users.
This code block asks the user for input.
This code block senses when the space bar is pressed.
space bar
This code block senses when the up arrow is pressed.
up arrow
This code block senses when the down arrow is pressed.
down arrow
This code block senses when the right arrow is pressed.
right arrow
This code block senses when the left arrow is pressed.
left arrow
This code block senses if the mouse is pressed down.
This code block senses the x coordinate of the mouse.
x
This code block senses the y coordinate of the mouse.
y
This code block sets the drag mode.
This code block resets the timer.
This code block senses the backdrop of the stage. For example, is it the first, second, third, and so on backdrop?
This code block senses the backdrop name of the stage.
This code block senses the volume of the stage.
This code block senses the specified variable of the stage.
This code block senses the number of days since the year 2000.
2000