Discuss Scratch
- Discussion Forums
- » Help with Scripts
- » Hiding when its not supposed to
- huyckkid14two
- Scratcher
14 posts
Hiding when its not supposed to
Im making a painting project, but for some reason the paintbrush is hiding everytime i put my mouse down. I don't have any hide blocks, what did i do wrong:
As you can see, there is no hide block. What went wrong? thanks!
when this sprite clicked
set pen color to [#d82e8a]
wait (1) secs
show
switch costume to [paintbrush v]
forever
go to [mouse pointer v]
if <mouse down?> then
pen down
else
pen up
end
end
As you can see, there is no hide block. What went wrong? thanks!
when I receive [ plane trip]
forever
say [zzzzzzzzzzzzzzzzzzzzzzzzz] for (2) secs
end
- BigNate469
- Scratcher
1000+ posts
Hiding when its not supposed to
Maybe change the hat block (the one at the top) to a
Idk if this will work- it might, it might not.
Also, unless this is the only script in your entire project, could you share the project and give us a link so that we can play around with it and figure out what the problem is?
when green flag clicked
Idk if this will work- it might, it might not.
Also, unless this is the only script in your entire project, could you share the project and give us a link so that we can play around with it and figure out what the problem is?
Highlight any part of this signature and press ctrl+shift+down arrow to see the rest of it.
For information on a signiture, including how to make one, visit here.
Please read the list of Officially Rejected Suggestions before posting a suggestion for Scratch!
View all of the topics you've posted in:
https://scratch.mit.edu/discuss/search/?action=show_user&show_as=topics
View all of your posts:
https://scratch.mit.edu/discuss/search/?action=show_user&show_as=posts
Lesser-known Scratch URLs:
https://scratch.mit.edu/projects/PROJECT ID HERE/remixtree (replace “PROJECT ID HERE” with project id number. Shows all the remixes of the project, and the remixes of those projects, and the remixes of those projects, and so on, as a chart. Link currently redirects to one of my projects). There was a button on the project page linking to this in 2.0, but it was removed.
View a larger list at: https://scratch.mit.edu/discuss/topic/542480/
Why @Paddle2See's responses are so often identical: https://scratch.mit.edu/discuss/topic/762351/
1000th post
The devs really need to update the scratch-gui repo- I'm getting at least 19 “npm warn deprecated” warnings whenever I try to install its dependencies, and yes, I'm using the latest version of node.js and npm. Then again, the dev page on this website and the wiki in the repo still refer to Scratch 3.0 in beta, and link the current website as an example of 2.0.
- huyckkid14two
- Scratcher
14 posts
Hiding when its not supposed to
when this sprite clicked
broadcast [paint v]
set pen color to [#63b1d4]
wait (1) secs
show
switch costume to [costume2 v]
forever
go to [mouse-pointer v]
if <mouse down?> then
pen down
else
pen up
end
end
when I receive [paint v]
hide
when I receive [ plane trip]
forever
say [zzzzzzzzzzzzzzzzzzzzzzzzz] for (2) secs
end
- Discussion Forums
- » Help with Scripts
- » Hiding when its not supposed to