Discuss Scratch
- Discussion Forums
- » Suggestions
- » A between block (or blank to blank block)
- TheUltermateFollower
-
Scratcher
21 posts
A between block (or blank to blank block)
Ok, so I want a scratch block that looks like this.
It would be useful as you can make scripts like this
There is a way to do this by making a list and adding all the x or y places, but that is very time consuming.
It probably should be green but it could be used in operations.
Please submit your thoughts
(() to ():: sensing)or
(() to ():: operators)
It would be useful as you can make scripts like this
if <<(mouse x) = ((56) to (-56):: sensing)> and <(mouse y) = ((85) to (45):: sensing)>> thenor
do something
if <<(mouse x) = ((56) to (-56):: operators)> and <(mouse y) = ((85) to (45):: operators)>> then
do something
There is a way to do this by making a list and adding all the x or y places, but that is very time consuming.
It probably should be green but it could be used in operations.
Please submit your thoughts
Last edited by TheUltermateFollower (July 25, 2016 07:33:44)
- 24691357
-
Scratcher
100+ posts
A between block (or blank to blank block)
Ok, so I want a scratch block that looks like this. except greenRound or hexagon blocks need to have a single value. Maybe something like this?(() to ())
It would be useful as you can make scripts like thisif <<(mouse x) = ((56) to (-56))> and <(mouse y) = ((85) to (45))>> then
do something
Please submit your thoughts
<() is between () and () :: operators>
- TheUltermateFollower
-
Scratcher
21 posts
A between block (or blank to blank block)
Ok, so I want a scratch block that looks like this. except greenRound or hexagon blocks need to have a single value. Maybe something like this?(() to ())
It would be useful as you can make scripts like thisif <<(mouse x) = ((56) to (-56))> and <(mouse y) = ((85) to (45))>> then
do something
Please submit your thoughts<() is between () and () :: operators>
should it be blue or green, sensing or operations
- TheUltermateFollower
-
Scratcher
21 posts
A between block (or blank to blank block)
Ok, so I want a scratch block that looks like this. except greenRound or hexagon blocks need to have a single value. Maybe something like this?(() to ())
It would be useful as you can make scripts like thisif <<(mouse x) = ((56) to (-56))> and <(mouse y) = ((85) to (45))>> then
do something
Please submit your thoughts<() is between () and () :: operators>
you mean an answer. Then I guess you could do it like this with that one
if <<(mouse x) is between (56) and (-56) :: operators> and <(mouse y) is between (85) and (45) :: operators>> then
do something
Last edited by TheUltermateFollower (July 24, 2016 06:02:10)
- Sheep_maker
-
Scratcher
1000+ posts
A between block (or blank to blank block)
say((1)to(10)::operators)What would the sprite say?
- Yanderan
-
Scratcher
100+ posts
A between block (or blank to blank block)
Ok, so I want a scratch block that looks like this. except blue or green. idkIs this new block like the(() to ())
It would be useful as you can make scripts like thisif <<(mouse x) = ((56) to (-56))> and <(mouse y) = ((85) to (45))>> then
do something
There is a way to do this by making a list and adding all the x or y places, but that is very time consuming.
Please submit your thoughts
(pick random () to ())?
- TheUltermateFollower
-
Scratcher
21 posts
A between block (or blank to blank block)
Ok, so I want a scratch block that looks like this. except blue or green. idkIs this new block like the(() to ())
It would be useful as you can make scripts like thisif <<(mouse x) = ((56) to (-56))> and <(mouse y) = ((85) to (45))>> then
do something
There is a way to do this by making a list and adding all the x or y places, but that is very time consuming.
Please submit your thoughts(pick random () to ())?
No, It senses if your sprite or mouse pointer is between one x (or y) point and another x (or y) point
- TheUltermateFollower
-
Scratcher
21 posts
A between block (or blank to blank block)
say((1)to(10)::operators)What would the sprite say?
what do you mean?
- 24691357
-
Scratcher
100+ posts
A between block (or blank to blank block)
Yes, it's used like this.Ok, so I want a scratch block that looks like this. except greenRound or hexagon blocks need to have a single value. Maybe something like this?(() to ())
It would be useful as you can make scripts like thisif <<(mouse x) = ((56) to (-56))> and <(mouse y) = ((85) to (45))>> then
do something
Please submit your thoughts<() is between () and () :: operators>
you mean an answer. Then I guess you could do it like this with that oneif <<(mouse x) is between (56) and (-56) :: operators> and <(mouse y) is between (85) and (45) :: operators>> then
do something
- Scratcher1002
-
Scratcher
1000+ posts
A between block (or blank to blank block)
1 2 3 4 5 6 7 8 9 10say((1)to(10)::operators)What would the sprite say?
It's like a list.
Support if I haven't.
- seanbobe
-
Scratcher
500+ posts
A between block (or blank to blank block)
<<(mouse x) > [-57]> and <(mouse x) < [57]>>
No support.
- 24691357
-
Scratcher
100+ posts
A between block (or blank to blank block)
Then this1 2 3 4 5 6 7 8 9 10say((1)to(10)::operators)What would the sprite say?
It's like a list.
Support if I haven't.
<[5] = ((1) to (10) :: operators)>is not true as 5 is not 1 2 3 4 5 6 7 8 9 10. Unless Scratch handles it as list internally…
- alexphan
-
Scratcher
1000+ posts
A between block (or blank to blank block)
<<(number) > [min]> and <(number) < [max]>>No support as per seanbobe.
- Sheep_maker
-
Scratcher
1000+ posts
A between block (or blank to blank block)
So, assuming first class lists are invented implemented,1 2 3 4 5 6 7 8 9 10say((1)to(10)::operators)What would the sprite say?
It's like a list.
Support if I haven't.
<((1)to(10)::operators) contains [5]>EDIT: Used the wrong word

Last edited by Sheep_maker (July 26, 2016 02:08:27)
- helloandgoodbye9
-
Scratcher
1000+ posts
A between block (or blank to blank block)
Support if first class lists are implanted, no support otherwise.
- Jonathan50
-
Scratcher
1000+ posts
A between block (or blank to blank block)
What would this return? Does it keep returning with different values until the containing block returns true?
Support if first class lists are implanted, no support otherwise.xD
Last edited by Jonathan50 (July 26, 2016 04:41:28)
- helloandgoodbye9
-
Scratcher
1000+ posts
A between block (or blank to blank block)
What would this return? Does it keep returning with different values until the containing block returns true?lol bad spellcheck. Im too tired to edit it though.Support if first class lists are implanted, no support otherwise.xD

- TheUltermateFollower
-
Scratcher
21 posts
A between block (or blank to blank block)
Support if first class lists are implanted, no support otherwise.what do you mean?
What would this return? Does it keep returning with different values until the containing block returns true?it was a thing?Support if first class lists are implanted, no support otherwise.xD
thx1 2 3 4 5 6 7 8 9 10say((1)to(10)::operators)What would the sprite say?
It's like a list.
Support if I haven't.
- RainaERusch
-
Scratcher
100+ posts
A between block (or blank to blank block)
Sorry if I sound incompetent but isn't this the same as:
(pick random (1) to (10))
- Discussion Forums
- » Suggestions
-
» A between block (or blank to blank block)









