Discuss Scratch

cs274283
Scratcher
100+ posts

That is good. I can remember which one I am using.

I've been working on a project and I've seen that there is a missing Pen block:
<pen down?::pen>

cs274283::motion
Yeah, I like it.::pen
TheHockeyist
Scratcher
1000+ posts

That is good. I can remember which one I am using.

Just do

if condition then
pen down
else
pen up
.

Last edited by TheHockeyist (Feb. 25, 2016 21:26:47)



gdpr533f604550b2f20900645890
Scratcher
1000+ posts

That is good. I can remember which one I am using.

define pen down
set [isPenDown v] to [true]
pen down

define pen up
set [isPenDown v] to [false]
pen up
DaSpudLord
Scratcher
1000+ posts

That is good. I can remember which one I am using.

gdpr533f604550b2f20900645890 wrote:

define pen down
set [isPenDown v] to [true]
pen down

define pen up
set [isPenDown v] to [false]
pen up
^^^
Semi-support.

Last edited by Paddle2See (Sept. 9, 2021 09:10:59)



U^ェ^U::motion//This is Blocky. He lives in my signature. He is a trained attack block. He protects my siggy from kumquats.
gdpr533f604550b2f20900645890
Scratcher
1000+ posts

That is good. I can remember which one I am using.

BTW, I still support the suggestion, though.
cs274283
Scratcher
100+ posts

That is good. I can remember which one I am using.

sample script:

if <pen down?::pen> then
pen down
else
pen up

cs274283::motion
Yeah, I like it.::pen
MajesticB
Scratcher
500+ posts

That is good. I can remember which one I am using.

cs274283 wrote:

sample script:

if <pen down?::pen> then
pen down
else
pen up
But “pen down” would only be true if pen was down, so why put the pen down if the pen is down?

THIS ACCOUNT IS ABANDONDED
cs293450
Scratcher
100+ posts

That is good. I can remember which one I am using.

I'm sure that the pen is down, for example, i define the block:

then, i run the block:
square (100) <not <>>::custom

I'm dead lol
DaSpudLord
Scratcher
1000+ posts

That is good. I can remember which one I am using.

cs293450 wrote:

I'm sure that the pen is down, for example, i define the block:

then, i run the block:
square (100) <not <>>::custom
What?


U^ェ^U::motion//This is Blocky. He lives in my signature. He is a trained attack block. He protects my siggy from kumquats.
cs293450
Scratcher
100+ posts

That is good. I can remember which one I am using.

Sometimes the pen is down if pen down is used.

As well, defining the block will be much easier.

I'm dead lol
DaSpudLord
Scratcher
1000+ posts

That is good. I can remember which one I am using.

cs293450 wrote:

Sometimes the pen is down if pen down is used.
Image hidden to save space on page. View image here- http://i.cubeupload.com/DtcI1m.gif
As well, defining the block will be much easier.
Image hidden to save space on page. View image here- http://i.cubeupload.com/E8miiJ.gif
Whoa, whoa, whoa, whoa, whoa. Hold the phone. What are you talking about? Start from the beginning, please. I feel like this is spam.


U^ェ^U::motion//This is Blocky. He lives in my signature. He is a trained attack block. He protects my siggy from kumquats.
Zekrom01
Scratcher
1000+ posts

That is good. I can remember which one I am using.

Support, the workaround is inconvenient since you will need to set the variable for every pen up/down block.

20 something years old
Probably doing college work
julianandwill
Scratcher
500+ posts

That is good. I can remember which one I am using.

Support for same reasons as above.

Wanna help make the longest Scratch movie ever? Go here - https://scratch.mit.edu/discuss/topic/235554/

When you [have no idea v] :: events hat
Be all like [ ¯\_(ツ)_/¯] :: motion
Feel [proud v] of [yourself v] :: operators cap
Sorry if I get annoying with bumps. It's probably the kumquats messing up my brain.
TheSmartGuy1234
Scratcher
1000+ posts

That is good. I can remember which one I am using.

Zekrom01 wrote:

Support, the workaround is inconvenient since you will need to set the variable for every pen up/down block.
Support

+2

It's AF day in my timzone.

ST: celebrate AF day in your timezones
Me: I live in new zealand
ST: oh no nononono





you use
sudo sh -c 'echo "text" > file'
No, professionals use
echo 'text' | sudo tee file 1> /dev/null


Scroll* for more!







what are @SIMIA1358 and @TPRATTAY doing!??!?!
(2023/11/04 YEAR-MM-DD)
https://scratch.mit.edu/discuss/topic/652044/?page=222#post-7453472
griffpatch appel is broken


Za_Chary wrote:


Games snippet:
10. yFzZ3MgsySzJLMv8yBzIfMqcynzJ04zLbMi8yNzJvNjM2KzYPNgsybzJLMi8yOzYzMk8yHzY3MmMyhzKrNlcytzYnMpcy6Ncy3zJLNoMyCzI7NisyQzL7Mhc2QzYrMkcyUzI7MisyBzKjNicyfzLHMrMymzJnMocygzYk
Reev0102
Scratcher
1000+ posts

That is good. I can remember which one I am using.

Zekrom01 wrote:

Support, the workaround is inconvenient since you will need to set the variable for every pen up/down block.
Just define a custom block which sets the variable and puts the pen down, then use the custom block instead of the regular pen up/pen down blocks.

Last edited by Reev0102 (Sept. 9, 2021 04:34:19)

Powered by DjangoBB