Discuss Scratch

WhyIsItNotFridayYet
Scratcher
12 posts

When I try to use the "when clicked" block on a hidden object it doesn't work.

help pls
helloworldbyeworld
Scratcher
1000+ posts

When I try to use the "when clicked" block on a hidden object it doesn't work.

That's because it's hidden, which means that you can't click on it. Instead of hiding it, switch to a costume that has the same shape as the normal costume but is transparent.
DerpyHead0
Scratcher
1000+ posts

When I try to use the "when clicked" block on a hidden object it doesn't work.

hide block disables some sprite features like clicking since otherwise it would block clicks from other sprites and just generally be confusing
generally if you want to keep a sprite interactive while not appearing you should use the ghost effect instead
TopGG
Scratcher
500+ posts

When I try to use the "when clicked" block on a hidden object it doesn't work.

DerpyHead0 wrote:

hide block disables some sprite features like clicking since otherwise it would block clicks from other sprites and just generally be confusing
generally if you want to keep a sprite interactive while not appearing you should use the ghost effect instead


Yes, this is what I generally use - you can simply set ghost effect to 100 and it has the same outcome.
Jlerpy
Scratcher
1000+ posts

When I try to use the "when clicked" block on a hidden object it doesn't work.

Yeah, I like Ghost 100 for this.
il_GG
Scratcher
31 posts

When I try to use the "when clicked" block on a hidden object it doesn't work.

You can use 100 ghost instead of hide.
goodpersonsowow
Scratcher
99 posts

When I try to use the "when clicked" block on a hidden object it doesn't work.

100 ghost actually shows the sprite when the stop sign is clicked. You can use this code:

And to show the sprite you can use this code:
WhyIsItNotFridayYet
Scratcher
12 posts

When I try to use the "when clicked" block on a hidden object it doesn't work.

okay, i changed it to not be hidden, but the clicking doesn't work?

Powered by DjangoBB