Discuss Scratch
- Discussion Forums
- » Suggestions
- » A between block (or blank to blank block)
- TheUltermateFollower
-
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
-
100+ posts
A between block (or blank to blank block)
Round or hexagon blocks need to have a single value. Maybe something like this? Ok, so I want a scratch block that looks like this. except green(() 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
-
21 posts
A between block (or blank to blank block)
Round or hexagon blocks need to have a single value. Maybe something like this? Ok, so I want a scratch block that looks like this. except green(() 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
-
21 posts
A between block (or blank to blank block)
Round or hexagon blocks need to have a single value. Maybe something like this? Ok, so I want a scratch block that looks like this. except green(() 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
-
1000+ posts
A between block (or blank to blank block)
say((1)to(10)::operators)What would the sprite say?
- Yanderan
-
100+ posts
A between block (or blank to blank block)
Is this new block like the Ok, so I want a scratch block that looks like this. except blue or green. idk(() 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
-
21 posts
A between block (or blank to blank block)
Is this new block like the Ok, so I want a scratch block that looks like this. except blue or green. idk(() 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
-
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
-
100+ posts
A between block (or blank to blank block)
Yes, it's used like this.Round or hexagon blocks need to have a single value. Maybe something like this? Ok, so I want a scratch block that looks like this. except green(() 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
-
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
-
500+ posts
A between block (or blank to blank block)
<<(mouse x) > [-57]> and <(mouse x) < [57]>>
No support.
- 24691357
-
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
-
1000+ posts
A between block (or blank to blank block)
<<(number) > [min]> and <(number) < [max]>>No support as per seanbobe.
- Sheep_maker
-
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
-
1000+ posts
A between block (or blank to blank block)
Support if first class lists are implanted, no support otherwise.
- Jonathan50
-
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?
implanted, no support otherwise.xD Support if first class lists are
Last edited by Jonathan50 (July 26, 2016 04:41:28)
- helloandgoodbye9
-
1000+ posts
A between block (or blank to blank block)
lol bad spellcheck. Im too tired to edit it though. What would this return? Does it keep returning with different values until the containing block returns true?implanted, no support otherwise.xD Support if first class lists are

- TheUltermateFollower
-
21 posts
A between block (or blank to blank block)
what do you mean? Support if first class lists are implanted, no support otherwise.
it was a thing? What would this return? Does it keep returning with different values until the containing block returns true?implanted, no support otherwise.xD Support if first class lists are
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
-
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)