Discuss Scratch

mia252
Scratcher
3 posts

Pen???

okay so im making a project similar to “sugar sugar” and i can't draw a line when the mouse is down. it's really frustrating, so if you know how to do fix this problem, please help me? ^ -thanks, mia252

whenclicked
setpencolorto
foreverifmousedown?thensetpensizeto5pendownelsepenup

Last edited by mia252 (Nov. 24, 2016 03:08:56)

awesome-llama
Scratcher
1000+ posts

Pen???

mia252 wrote:

okay so im making a project similar to “sugar sugar” and i can't draw a line when the mouse is down. it's really frustrating, so if you know how to do fix this problem, please help me? ^ -thanks, mia252

whenclickedsetpencolortoforeverifmousedown?thensetpensizeto5pendownelsepenup
That script works.

Pen is always behind all sprites, so maybe you have sprites showing.
bustedthumbs
Scratcher
100+ posts

Pen???

The pen is down but it's not moving the Sprite. Is that what you intended?
Mr_Thinker
Scratcher
50 posts

Pen???

Are you saying that you want the sprite to move when your pen is down? Like make the sprite follow the mouse?

Last edited by Mr_Thinker (Nov. 25, 2016 23:01:53)

drmcw
Scratcher
1000+ posts

Pen???

After pen down add
gotomouse-pointer
erin13ninja
Scratcher
60 posts

Pen???

drmcw wrote:

After pen down add
gotomouse-pointer
I agree, what you need to have is this:

whenclickedforevergotomouse-pointer

————
Check out my project!
JOIN MY SPLIX.IO TEAM!!
Mr_Thinker
Scratcher
50 posts

Pen???

erin13ninja wrote:

I agree, what you need to have is this:

whenclickedforevergotomouse-pointer

————
Check out my project!
JOIN MY SPLIX.IO TEAM!!
Well, actually you would need this code:
whenclickedsetpencolortoforeverifmousedown?thensetpensizeto5pendowngotomouse-pointerelsepenup
GlassGalaxy
Scratcher
500+ posts

Pen???

whenclickedforevergotomouse-pointersetpencolortowhatevercolorifmousedown?thenpendownelsepenup

Pen… pen can't go behind in front of sprites unless you stamped the sprites…

Last edited by GlassGalaxy (Nov. 26, 2016 10:33:44)

asivi
Scratcher
1000+ posts

Pen???

GlassGalaxy wrote:

whenclickedforevergotomouse-pointersetpencolortowhatevercolorifmousedown?thenpendownelsepenup

Pen… pen can't go behind sprites unless you stamped the sprites…
Is it a mistake, or i've missunderstood those words?
GlassGalaxy
Scratcher
500+ posts

Pen???

asivi wrote:

GlassGalaxy wrote:

whenclickedforevergotomouse-pointersetpencolortowhatevercolorifmousedown?thenpendownelsepenup

Pen… pen can't go behind sprites unless you stamped the sprites…
Is it a mistake, or i've missunderstood those words?
Oh whoops. Meant in front. I'll fix it now. :p

Powered by DjangoBB