7 months ago

how to make a
"click / hold" block in scratch/turbowarp/any coding block websites

"BEST FOR STARTERS"


step-1

screen_shot_2024-04-14_at_22821_pm.png

you can add any starting blocks for the tutorial


step-2

screen_shot_2024-04-14_at_23234_pm.png

add a forever block & a sensing block sensing "touching mouse-pointer?"


screen_shot_2024-04-14_at_23237_pm.png

step-3

then for the "else" button

"volume is optional"

then add a costume as the "off" button "when not being touched"

same as costume but with a brightness as not being touched


screen_shot_2024-04-14_at_23243_pm.png

step-4

"volume is still optional"

set the brightness to 5 when the mouse is hovering over the costume


step-5

screen_shot_2024-04-14_at_24031_pm.png

add a if then else block in "if touching mouse " under the brightness 5 then added a "mouse down?" sensing block for the "if then else block".

"volume is STILL optional"

add the brightness set to 0

add a switch costume block and add a new costume as "on" button.

"broadcast is optional"


step-6

screen_shot_2024-04-14_at_23254_pm.png

this is what it looks like when you follow the directions and it will work. if it doesn't work then you can look at the picture on top of this message.

if it is helpful leave a like



0 comments

Loading...

Next up

Oh snap

drew on my pc for the first time :3

@PlushAleenathefox so uh do you like my mod?

"im sorry I got bored"

#GJAsks

My favourite platforming character? This one is a tough choice, but I'm going with Klonoa!

So I made a here a quick art of him! I'm currently playing the GBA titles so I made him with this design.

Klonoa is a very unique platformer. Check it out!

breaking news

approaching minimums.

200.

.

.

100

minimums

.

50

.

40.

30

glide-slope

.

30

glide slope

20

.

10

5

🌙Overtime🌙 Earn extra money!

I just won a give away