Discuss Scratch
- Discussion Forums
- » Suggestions
- » Helpful Workarounds for Frequently Suggested Blocks!
- DoggyJET
- Scratcher
11 posts
Helpful Workarounds for Frequently Suggested Blocks!
For “previous costume” block you could do:
switch costume to ((costume #) - (1))
Last edited by DoggyJET (Dec. 12, 2020 21:27:39)
- DoggyJET
- Scratcher
11 posts
Helpful Workarounds for Frequently Suggested Blocks!
if <[Pen down] = [True]> thencan be done by:
put whatever blocks you want here
pen down
set [Pen down?] to [True]
And
pen up
set [Pen down?] to [False]
Last edited by DoggyJET (Dec. 12, 2020 21:50:10)
- DoggyJET
- Scratcher
11 posts
Helpful Workarounds for Frequently Suggested Blocks!
You could just do:
when I start as a clone
do something
- SeuAmigo35
- Scratcher
500+ posts
Helpful Workarounds for Frequently Suggested Blocks!
ViniBloxEr would like this…1. it is called SPRITE not SPIRITEs p r i t e c r a n b e r r y isnt sprite a d r i n k -isn't it called spirite?sprite, a characterWHO IS SPIRITEthe variable must be set to this spirite onlyThis doesn't work, since the sprite will also think that they are a clone. Sensing
_______________________________________________________________________________________________am i a clone? :: boolean :: sensingcan be made with this script:when green flag clicked
set [am i a clone? v] to [false]
when i start as a clone
set [am i a clone? v] to [true]
when green flag clicked
forever
if <(am i a clone?) = [true]> then
do something :: grey
2. sprite is also a drink but not in this case.
3. anyone have a workaround forwhen gf clicked? (just asking for fun)
- sathvikrias
- Scratcher
500+ posts
Helpful Workarounds for Frequently Suggested Blocks!
oh I forgotWell you could always do 3. anyone have a workaround forwhen gf clicked? (just asking for fun)when [timer v] > (0)
in scratch 3.0 you can just do when motion greater than -9999 turn camera off
Moving from Scratch? Don't learn C or Java, try Snap!
- 4cwefgtw9e587
- Scratcher
66 posts
Helpful Workarounds for Frequently Suggested Blocks!
<key [enter v] pressed?>
can be created with this:key (join [enter] []) pressed?This can be used for other single character special keys, such as ; ‘ , \ as well as enter.
But it doesn’t work with the shift, control, tab, etc. keys.
is there a full list of those?
i can't find one so i'll make one myself
Caps Lock
Tab
Shift
Ctrl
Alt
Fn
i'm not sure about backspace
Insert
Home
Pgup
Pgdown
Delete
End
Num Lock
Esc
F1
F2
F3
F4
F5
F6
F7
F8
F9
F10
F11
F12
Last edited by 4cwefgtw9e587 (Dec. 14, 2020 23:29:49)
i like scratch mods
ɴᴏᴡ ᴘʟᴀʏɪɴɢ: Never Gonna Give You Up (RickRoll) ◄◄⠀▐▐ ⠀►►⠀ ───⚪────────────── ⠀⠀ ⠀
2+2=4
2x2=4
2^2=4
YOU CANNOT ESCAPE 4
- 4cwefgtw9e587
- Scratcher
66 posts
Helpful Workarounds for Frequently Suggested Blocks!
<key [enter v] pressed?>
can be created with this:key (join [enter] []) pressed?This can be used for other single character special keys, such as ; ‘ , \ as well as enter.
But it doesn’t work with the shift, control, tab, etc. keys.
is there a full list of those?
i can't find one so i'll make one myself
Caps Lock
Tab
Shift
Ctrl
Alt
Fn
i'm not sure about backspace
Insert
Home
Pgup
Pgdown
Delete
End
Num Lock
Esc
F1
F2
F3
F4
F5
F6
F7
F8
F9
F10
F11
F12
i wonder if emojis can be detected too
i like scratch mods
ɴᴏᴡ ᴘʟᴀʏɪɴɢ: Never Gonna Give You Up (RickRoll) ◄◄⠀▐▐ ⠀►►⠀ ───⚪────────────── ⠀⠀ ⠀
2+2=4
2x2=4
2^2=4
YOU CANNOT ESCAPE 4
- novastone146
- Scratcher
16 posts
Helpful Workarounds for Frequently Suggested Blocks!
scratch plz add this block
insert text X [...] Y [...] text [...]
- Ihatr
- Scratcher
1000+ posts
Helpful Workarounds for Frequently Suggested Blocks!
scratch plz add this blockinsert text X [...] Y [...] text [...]
Please suggest things in the Suggestions forums,
https://scratch.mit.edu/discuss/1/
- DoggyJET
- Scratcher
11 posts
Helpful Workarounds for Frequently Suggested Blocks!
Here is a workout for this block:stop saying [ hello]
Use of this block:forever
if <touching [mouse pointer v] ?> then
say [hello]
else
stop saying [ hello]
end
end
Workout:forever
if <touching [mouse pointer v] ?> then
say [hello] for (0.01) secs
end
end
An alternate way is:
when green flag clicked
forever
if <touching [ mouse-pointer] ?> then
say [hello]
else
think []
end
end
- ViniBloxEr
- Scratcher
64 posts
Helpful Workarounds for Frequently Suggested Blocks!
S P R I T E1. it is called SPRITE not SPIRITEs p r i t e c r a n b e r r y isnt sprite a d r i n k -isn't it called spirite?sprite, a characterWHO IS SPIRITEthe variable must be set to this spirite onlyThis doesn't work, since the sprite will also think that they are a clone. Sensing
_______________________________________________________________________________________________am i a clone? :: boolean :: sensingcan be made with this script:when green flag clicked
set [am i a clone? v] to [false]
when i start as a clone
set [am i a clone? v] to [true]
when green flag clicked
forever
if <(am i a clone?) = [true]> then
do something :: grey
2. sprite is also a drink but not in this case.
3. anyone have a workaround forwhen gf clicked? (just asking for fun)
I'm @SeuAmigo35ING acaunt. wat wawawat? Your thenk i'm fAIK? Then yall shiuld gol intro arestING.
if <on arestING?:: sensing> then
Yall donu't knaw wOAHt tok dok:: looks
end
(:D :: sensing)//mis (neAw) kumkuat protectur! :D
- ViniBloxEr
- Scratcher
64 posts
Helpful Workarounds for Frequently Suggested Blocks!
EPICAL I'LL SUGGEST THAT<key [enter v] pressed?>
can be created with this:key (join [enter] []) pressed?This can be used for other single character special keys, such as ; ‘ , \ as well as enter.
But it doesn’t work with the shift, control, tab, etc. keys.
is there a full list of those?
i can't find one so i'll make one myself
Caps Lock
Tab
Shift
Ctrl
Alt
Fn
i'm not sure about backspace
Insert
Home
Pgup
Pgdown
Delete
End
Num Lock
Esc
F1
F2
F3
F4
F5
F6
F7
F8
F9
F10
F11
F12
i wonder if emojis can be detected too
I'm @SeuAmigo35ING acaunt. wat wawawat? Your thenk i'm fAIK? Then yall shiuld gol intro arestING.
if <on arestING?:: sensing> then
Yall donu't knaw wOAHt tok dok:: looks
end
(:D :: sensing)//mis (neAw) kumkuat protectur! :D
- 4cwefgtw9e587
- Scratcher
66 posts
Helpful Workarounds for Frequently Suggested Blocks!
EPICAL I'LL SUGGEST THAT<key [enter v] pressed?>
can be created with this:key (join [enter] []) pressed?This can be used for other single character special keys, such as ; ‘ , \ as well as enter.
But it doesn’t work with the shift, control, tab, etc. keys.
is there a full list of those?
i can't find one so i'll make one myself
Caps Lock
Tab
Shift
Ctrl
Alt
Fn
i'm not sure about backspace
Insert
Home
Pgup
Pgdown
Delete
End
Num Lock
Esc
F1
F2
F3
F4
F5
F6
F7
F8
F9
F10
F11
F12
i wonder if emojis can be detected too
i wont really know what the use will be lol
i like scratch mods
ɴᴏᴡ ᴘʟᴀʏɪɴɢ: Never Gonna Give You Up (RickRoll) ◄◄⠀▐▐ ⠀►►⠀ ───⚪────────────── ⠀⠀ ⠀
2+2=4
2x2=4
2^2=4
YOU CANNOT ESCAPE 4
- stefie10
- Scratcher
44 posts
Helpful Workarounds for Frequently Suggested Blocks!
i made a few and this(press see inside)
- Just_ng
- Scratcher
500+ posts
Helpful Workarounds for Frequently Suggested Blocks!
Here is a workout for this block:This can be done by just putting say() blank input and it will say nothing. i tested itstop saying [ hello]
Use of this block:forever
if <touching [mouse pointer v] ?> then
say [hello]
else
stop saying [ hello]
end
end
Workout:forever
if <touching [mouse pointer v] ?> then
say [hello] for (0.01) secs
end
end
- SeuAmigo35
- Scratcher
500+ posts
Helpful Workarounds for Frequently Suggested Blocks!
nooooooooooooooo ViniBloxEr found the commentEPICAL I'LL SUGGEST THAT<key [enter v] pressed?>
can be created with this:key (join [enter] []) pressed?This can be used for other single character special keys, such as ; ‘ , \ as well as enter.
But it doesn’t work with the shift, control, tab, etc. keys.
is there a full list of those?
i can't find one so i'll make one myself
Caps Lock
Tab
Shift
Ctrl
Alt
Fn
i'm not sure about backspace
Insert
Home
Pgup
Pgdown
Delete
End
Num Lock
Esc
F1
F2
F3
F4
F5
F6
F7
F8
F9
F10
F11
F12
i wonder if emojis can be detected too
i wont really know what the use will be lol
- Maximouse
- Scratcher
1000+ posts
Helpful Workarounds for Frequently Suggested Blocks!
This isn't a localStorage variable because it's reset when you reload the page. Also, for Javascript programmers like me, to make localStorage variables, you can do this:set [ v] to []NOT a cloud variable.
- Aarnay3t
- Scratcher
100+ posts
Helpful Workarounds for Frequently Suggested Blocks!
This is not a workaround but have you ever been through the awful time where you have to copy scripts to every single sprite?
Here is a tip:
Go to the hat block at the top of the script and right-click it
Then, go to the sprite you need and press Ctrl+V to paste the script
Here is a tip:
Go to the hat block at the top of the script and right-click it
when green flag clickedAfter that press Ctrl+C to copy the script
Then, go to the sprite you need and press Ctrl+V to paste the script
Aarnay3t [#ffff00]::stack #ffbd00I am @Aarnay3t, a Scratcher who is teaching his brother to code and has always had a keen interest in coding and programming. I own and am a founder of the AIC - Aarnay3t Institute of Coding. I am even learning HTML and Python!
You can see the rest of my signature by higlighting this text right here and then pressing ⇧ + ↓ (shift + down arrow)
print("Hello World!") "Hello World!"
Hey? Like this discussion?
Then, click the button below and NEVER click the one that takes its place
Follow Discussion::reporter #00ccccAarnay3t
:)::boolean blocks // I'm an anti-kumquat. Fun fact: There is a fruit called the kumquat fruit!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
- DoggyJET
- Scratcher
11 posts
Helpful Workarounds for Frequently Suggested Blocks!
Possible way for When green flag clicked workaround:S P R I T E1. it is called SPRITE not SPIRITEs p r i t e c r a n b e r r y isnt sprite a d r i n k -isn't it called spirite?sprite, a characterWHO IS SPIRITEthe variable must be set to this spirite onlyThis doesn't work, since the sprite will also think that they are a clone. Sensing
_______________________________________________________________________________________________am i a clone? :: boolean :: sensingcan be made with this script:when green flag clicked
set [am i a clone? v] to [false]
when i start as a clone
set [am i a clone? v] to [true]
when green flag clicked
forever
if <(am i a clone?) = [true]> then
do something :: grey
2. sprite is also a drink but not in this case.
3. anyone have a workaround forwhen gf clicked? (just asking for fun)
when green flag clicked
broadcast [Green Flag]
when I receive [Green Flag]
...