Discuss Scratch

Abiyyu_zaia2014
Scratcher
69 posts

Click so the bubble text(say) dissapear or appear

So i made a project named Savannah nature but when i was on sds named flora and fauna there is one account reply my comment say “ Maybe add the possibility to click on the sprite for the text to disappear, if we dont want to wait. ” But idk how to do that with the code so can someone help me to do click the bubble text so it could dissapear or appear

Btw the link for project is here:
https://scratch.mit.edu/projects/1174877568/

Last edited by Abiyyu_zaia2014 (July 31, 2025 07:40:44)

KevinOVO
New Scratcher
92 posts

Click so the bubble text(say) dissapear or appear

maybe this can work

when this sprite clicked
if <(Animal Chosen) = [Animal Name]> then
set [Animal Chosen v] to [None]
else
set [Animal Chosen v] to [Animal Name]
say [Texts]
end
wait until <not <(Animal Chosen) = [Animal Name]>>
say []
Abiyyu_zaia2014
Scratcher
69 posts

Click so the bubble text(say) dissapear or appear

KevinOVO wrote:

maybe this can work

when this sprite clicked
if <(Animal Chosen) = [Animal Name]> then
set [Animal Chosen v] to [None]
else
set [Animal Chosen v] to [Animal Name]
say [Texts]
end
wait until <not <(Animal Chosen) = [Animal Name]>>
say []

Ty for helping me

Powered by DjangoBB