"When this sprite clicked" Block
-
Prerequisite
Description
The “When this sprite clicked” block is a Hat Block in the Events category. It plays the blocks attached below it when the current sprite is clicked.
https://cdncreaticodecom.b-cdn.net/scratch-gui-projects/forum/373ce10d-ed69-4102-901b-0400ae6ad3c0.PNG" width="650" style="">
How to Use This Block
The “When this sprite clicked” block runs only when you “click” on the Sprite on Stage.
You need to press down the “left mouse button”https://cdncreaticodecom.b-cdn.net/scratch-gui-projects/forum/a9fbce4e-61be-40d1-9063-0c6ab53353b9.PNG" width="60" style=""> on the visible part of the Sprite.
https://cdncreaticodecom.b-cdn.net/scratch-gui-projects/forum/195517b7-ebe2-44e4-8a18-5dd4f3afdc3d.gif" width="800" style="border-radius: 5px; border: 1px solid #29622d;">
If the Sprite is Hidden
The “When this sprite clicked” block will not work when the sprite is hidden, or when you click on any transparent part of a sprite.
https://cdncreaticodecom.b-cdn.net/scratch-gui-projects/forum/9fe2bc68-0ebd-4a9d-89fe-6279577545f9.gif" width="800" style="border-radius: 5px; border: 1px solid #29622d;">
“When stage clicked” Block
The “When stage clicked” block is used for the stage in a similar way. You can find this block in the Events category after you select the stage.
https://cdncreaticodecom.b-cdn.net/scratch-gui-projects/forum/584ab7a5-fff2-4bf2-a8c0-5dd05b2685f8.gif" width="800" style="border-radius: 5px; border: 1px solid #29622d;">
How It Works
The “When stage clicked” block plays the blocks attached below it when you click anywhere on the stage.
https://cdncreaticodecom.b-cdn.net/scratch-gui-projects/forum/88783ad8-a57b-4944-bcc3-5132b9ebbbaa.gif" width="800" style="border-radius: 5px; border: 1px solid #29622d;">
Learn More
-
I CreatiCode pinned this topic on
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login