Discuss Scratch
- Discussion Forums
- » Suggestions
- » Hide = Un-interactable
- meepmep_
-
Scratcher
100+ posts
Hide = Un-interactable
I feel like when you hide a sprite it should be un-interactable. But when you click whatever trigger for a hidden sprite even if it's hidden it can still activate. like if clicking a button plays a sound, even if you click it while hidden it still plays.
- GUYWHOLOVESCODE
-
Scratcher
500+ posts
Hide = Un-interactable
I'm not sure whether I'm supporting or not yet.
It has workarounds:
It has workarounds:
when this sprite clicked //Instead of this scriptThe <Touching > block only checks this if both objects are showing.
Your Script::Custom Blocks
when gf clicked //Try this one
forever{
wait until<mouse down?>
if <Touching[Mouse Pointer v]?> {
Your Script::Custom Blocks
}::control
}::control
Last edited by GUYWHOLOVESCODE (Feb. 16, 2023 13:54:34)
- meepmep_
-
Scratcher
100+ posts
Hide = Un-interactable
I'm not sure whether I'm supporting or not yet.That wouldn't work. The hide block only makes things invisible. The “mouse touching” block would still read yes if it's over where the sprite is.
It has workarounds:when this sprite clicked //Instead of this scriptThe <Touching > block only checks this if both objects are showing.
Your Script::Custom Blocks
when gf clicked //Try this one
forever{
wait until<mouse down?>
if <Touching[Mouse Pointer v]?> {
Your Script::Custom Blocks
}::control
}::control
- blablablahello
-
Scratcher
1000+ posts
Hide = Un-interactable
you cant click on hidden sprites : P
https://scratch.mit.edu/projects/772404928/
https://scratch.mit.edu/projects/772404928/
- meepmep_
-
Scratcher
100+ posts
Hide = Un-interactable
you cant click on hidden sprites : Pguess not
https://scratch.mit.edu/projects/772404928/
- Discussion Forums
- » Suggestions
-
» Hide = Un-interactable