Discuss Scratch
- medians
-
1000+ posts
If (sprite name) showing? block
when green flag clicked
set [page v] to [1]
- medians
-
1000+ posts
If (sprite name) showing? block
Could also be this:when green flag clicked
set [page v] to [1]
<[shown v] of [this sprite v] ::sensing> //bools will change it to this shape
<[hidden v] of [this sprite v] ::sensing>
<[shown v] of [sprite v] ::sensing>
- lovelimpan
-
100+ posts
If (sprite name) showing? block
i think it would be great with a custom block for hide and show (like this)
i dont know how to put them as a script sorry
define hide
hide
set [hiden? v] to [1]
i dont know how to put them as a script sorry
Last edited by lovelimpan (Nov. 21, 2022 18:48:24)
- dihectogon
-
45 posts
If (sprite name) showing? block
i think it would be great with a custom block for hide and show (like this)define hidehideset [hiden? v] to [1]
i dont know how to put them as a script sorry
define hide
hide
set [hidden? v] to [true]
set [shown? v] to [false]
define hide
hide
set [hidden? v] to [true]
set [shown? v] to [false]
- medians
-
1000+ posts
If (sprite name) showing? block
when green flag clicked
set [page v] to [1]
define hide
hide
set [hidden? v] to [true]
set [shown? v] to [false]
define showAnnoying to create 2 local vars of the same name for every sprite though, and add this to every sprite.
show
set [shown? v] to [true]
set [hidden? v] to [false]
Last edited by medians (Nov. 23, 2022 18:18:41)
- lovelimpan
-
100+ posts
If (sprite name) showing? block
oh yeah i mean thatwhen green flag clicked
set [page v] to [1]define hide
hide
set [hidden? v] to [true]
set [shown? v] to [false]define showAnnoying to create 2 local vars of the same name for every sprite though, and add this to every sprite.
show
set [shown? v] to [true]
set [hidden? v] to [false]
- Eletiva_ilp_29
-
50 posts
If (sprite name) showing? block
showing? :: boolean looks
hidding? :: boolean looks
- medians
-
1000+ posts
If (sprite name) showing? block
when green flag clicked
set [page v] to [1]
- medians
-
1000+ posts
If (sprite name) showing? block
when green flag clicked
set [page v] to [1]
- Zydrolic
-
1000+ posts
If (sprite name) showing? block
A wild DUPLICATE appeared!
Go, DupeBump!

Go, DupeBump!

- medians
-
1000+ posts
If (sprite name) showing? block
Maybe it could report true/false, and then you'd be able to put into boolean inputs, or it could be a “visibility” value instead that reports hidden/shown.
makes sense, I guess. How would the([ v] of [ v])block for booleans work/look though? (You can put booleans into the current block, though I don't think it'll work well.)
- BigNate469
-
1000+ posts
If (sprite name) showing? block
when green flag clicked
if <[this topic v] is [off the front page v]? ::sensing> then
bump [this topic v]:: extension
end
Last edited by BigNate469 (Feb. 20, 2025 17:39:09)