How to hold down a button in Scratch

Опубликовано: 15 Май 2026
на канале: Jared O'Leary //Multiplicity
5,486
54

🐱 More Scratch content in my home tab https://jaredoleary.com/scratch

🎧 Computer science education podcast https://jaredoleary.com/csk8

🖥️ PC specs and gear I use https://jaredoleary.com/gear

🎮 Gaming playlists http://jaredoleary.com/game

🥁 Drumming playlists http://jaredoleary.com/drum

📅 Stream schedule https://jaredoleary.com/schedule

👕 Merch https://jaredoleary.com/merch

👪 Socials (in the menu) https://jaredoleary.com

🐱 Scratch project https://scratch.mit.edu/projects/8774...

━━━━━━━━━━━━━

I've created a button that changes the color of the Scratch Cat when pressed, but I wanted to add a feature where I could press and hold the button to continuously change colors until I let go. To achieve this, I used a 'repeat until' block to broadcast a 'change color' message, and then set the condition to 'not Mouse down.' Now, I can press and hold the button to see the Scratch Cat's color change continuously.

Check out the links above for more free Scratch videos, projects, lessons, tips, etc. If you'd like to learn how to teach computer science education with your students, check out the #CSK8 Podcast in the link above to explore research, experiences, and perspectives on computer science education through interviews with computer science educators, scholars, and administrators, as well as episodes that summarize and unpack implications of research for classroom teachers who are interested in learning more about practical applications of research in their classroom.

#scratch #JaredOLeary

━━━━━━━━━━━━━

00:00 How to hold down a button in Scratch
00:17 Making a button extra fancy