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

Probably asking for help on one of my silly projects right now.
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.

Helloworldbyeworld | 1200+ posts
Have a great day
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

when I start as a clone
delete this clone
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.


⇢ ˗ˏˋ TopGG

== He/Him – ISFP-T – Scorpio – Aussie – MeOwner of Lightspeed Inc. – Certified Furry – Ravenclaw – Colour Fanatic ==

Click Here for my Extended Signature

ocular -/- ScratchStats -|- postpercent -\- ScratchInfo


Generation 365: the first time you see this copy and paste it on top of your signature in the scratch forums and increase generation by 1. Social experiment.
#StandWithUkraine



Comment “Shield upgrade!” on my activity hub to give Astrum another layer of protection! Let's make the biggest code block on Scratch!

this is my kumquat guard Astrum. He has 15 layers of shield. (((((((((((((((¬‿¬))))))))))))))):: #000000


Last edited by ScratchCat (Tomorrow, 2027 48:77:16)
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
97 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:

when green flag clicked
say[This is a signature. It goes at the bottom of every post I make.]
Learn more about them here.
My profile page l My projects l Studios I curate l Sin, cos, and tan of an angle l Paint l Touchlete!

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?

Probably asking for help on one of my silly projects right now.

Powered by DjangoBB