Math, asked by 9900009585, 5 months ago

Which includes blocks that performs some actions when the user clicks the mouse or presses a key on the keyboard?

Answers

Answered by muskanjangde861
2

Step-by-step explanation:

Sensing blocks

Please follow me and mark my answers as brainliest

Answered by balendradubey5bd
53

Answer:

☞Sensing blocks are one of the eight categories of Scratch blocks. They are color-coded light-blue, and are used to detect things. They can be used to determine the location of the mouse-pointer, its distance from other sprites, and whether a sprite is touching another sprite.

☞An important part of programming is to give your sprites the ability to sense when things happen. For example, it is important for a sprite to know when it collides with another sprite or when the user presses a key.

User Input

☞The important characteristic of sensing blocks is that they allow for user input and for the program to change or adjust itself according to that user input. The block sense when the user has inputted data into the program. User input can be the click of the mouse, using the arrow keys on the keyboard to make a sprite move around the stage, or when a user types an answer into a question box. The sensing blocks allow the program to sense when user input happens and it can respond to that input.

Similar questions