Discuss Scratch
- Discussion Forums
- » Suggestions
- » The "Is" Scratch Block
- jeevansdhanota
- Scratcher
19 posts
The "Is" Scratch Block
This picture is a custom script i would like to see added to scratch. It is a operator script and i would like to see a new sensing script just called mouse pointer. The “is” script will detect like “mouse pointer ‘is’ touching color ‘red’”.
That is how i would like it to work. Thanks!
Please reply your own thoughts!
That is how i would like it to work. Thanks!
Please reply your own thoughts!
Last edited by jeevansdhanota (May 12, 2018 23:50:38)
- mstone326
- Scratcher
1000+ posts
The "Is" Scratch Block
You should move this post to the Suggestions section as this is for specific help with scripts here. They have conversations about different ideas in that thread, much better fit.
High School Athletic Director / Middle School Tech Teacher / High School Baseball Coach
Kung Fu by Nintendo 1984 - https://scratch.mit.edu/projects/369994801/
Taco Defense - Speed Typing - https://scratch.mit.edu/projects/316795450/
Halloween Boss Battle - Taking Back our Woods - https://scratch.mit.edu/projects/257155118/
Almost Pong - https://scratch.mit.edu/projects/656276979/
Studio - My Best Projects - https://scratch.mit.edu/studios/4125978/
Forum Help Project Examples - https://scratch.mit.edu/studios/4133335
- Paddle2See
- Scratch Team
1000+ posts
The "Is" Scratch Block
I'll move this over to the Suggestions section for you - that's a better fit for this kind of topic
Scratch Team Member, kayak and pickleball enthusiast, cat caregiver.
This is my forum signature! On a forum post, it is okay for Scratchers to advertise in their forum signature. The signature is the stuff that shows up below the horizontal line on the post. It will show up on every post I make.
(credit to Za-Chary)
;
- PrincessFlowerTV
- Scratcher
1000+ posts
The "Is" Scratch Block
Work-aroundable:
wait until <(foo) = (foo2)>
Got to be good looking cause he's so hard to see -The Beatles
(Thank you @just-there from The Profile Picture Shop for the banner ^^)
Nothing's down here, sorry to disappoint you.
JK. there may be something down there…
Maybe not, tho.
You're determined, aren't you?
Talar du Svenska? Om inte, det ar fin.
Just stop it, will ya?
Fine, you win.
Take a rice cake. *yeets you a rice cake*
Say “Thanks for that rice cake, Kewpie!” if you made it this far.
JK. there may be something down there…
Maybe not, tho.
You're determined, aren't you?
Talar du Svenska? Om inte, det ar fin.
Just stop it, will ya?
Fine, you win.
Take a rice cake. *yeets you a rice cake*
Say “Thanks for that rice cake, Kewpie!” if you made it this far.
- -ShadowOfTheFuture-
- Scratcher
1000+ posts
The "Is" Scratch Block
So you want something like this?
<[mouse-pointer v] is <touching color [#05af02]?>:: sensing>
<Insert uncreative signature here>
██ ██ ██ ██ ██ ██
██ ██ ██ ██ ██ ██
██ ██ ██ ██ ██ ██ ██
██ ██ ██ ██ ██ ██ ██
███ ███ ██ ████ ██ ███ ███
█████████ █████ █████ █████████
“Though the seasons come and go, and sunshine turns to snow, we will always have tomorrow up ahead.”
- jeevansdhanota
- Scratcher
19 posts
The "Is" Scratch Block
thx I'll move this over to the Suggestions section for you - that's a better fit for this kind of topic
- jeevansdhanota
- Scratcher
19 posts
The "Is" Scratch Block
yes something like that but with 2 slots for hexagon scripts and its in operators So you want something like this?<[mouse-pointer v] is <touching color [#05af02]?>:: sensing>
- -ShadowOfTheFuture-
- Scratcher
1000+ posts
The "Is" Scratch Block
yes something like that but with 2 slots for hexagon scripts and its in operators So you want something like this?<[mouse-pointer v] is <touching color [#05af02]?>:: sensing>
<<touching color [#444444]> is <touching color [#782364]> :: operators>Doesn't really make sense, though, to have two booleans in it. Are you thinking of this block?
<color [#8128b6] is touching [#9128c6] ?>
Last edited by -ShadowOfTheFuture- (Feb. 15, 2018 23:30:27)
<Insert uncreative signature here>
██ ██ ██ ██ ██ ██
██ ██ ██ ██ ██ ██
██ ██ ██ ██ ██ ██ ██
██ ██ ██ ██ ██ ██ ██
███ ███ ██ ████ ██ ███ ███
█████████ █████ █████ █████████
“Though the seasons come and go, and sunshine turns to snow, we will always have tomorrow up ahead.”
- CosmicBunBun
- Scratcher
100+ posts
The "Is" Scratch Block
Just a reminder that you can embed images in a forum post using cubeupload and the “post image” on the top formatting bar when making a post. For example:
Anyways, easily workaroundable.
Anyways, easily workaroundable.
wait until <(thing) = (otherthing)>
Last edited by CosmicBunBun (Feb. 16, 2018 04:24:21)
- asqwde
- Scratcher
1000+ posts
The "Is" Scratch Block
yeah Just a reminder that you can embed images in a forum post using cubeupload and the “post image” on the top formatting bar when making a post. For example:
Anyways, easily workaroundable.wait until <(thing) = (otherthing)>
- Botcho_Otkho
- Scratcher
1000+ posts
The "Is" Scratch Block
No support. This would require to add a lot of other blocks since the blocks
Also there are many workarounds,such as:
mouse pointer::reporter sensingor
colour [#FFF500]::reporter sensingdoesn't exist. Of course these two blocks are just an example.
Also there are many workarounds,such as:
<touching [mouse pointer v] ?>
<touching color [#0fec5c] ?>
<color [#409a57] is touching [#fec3b8] ?>
I see now that the circumstances of one's birth are irrelevant. It is what you do with the gift of life that determines who you are. - Mewtwo
- kenny2scratch
- Scratcher
500+ posts
The "Is" Scratch Block
I'm not really sure what the suggestion is here - you want a block that tells whether one hexagon is the same as another? In that case, use this:
<<hexagon1 :: grey> = <hexagon2 :: grey>>
post brought to you by the preview links bug and previously the uploads site bug. 看一下中文 Scratch 維基!想參加?請參考這頁。
- jeevansdhanota
- Scratcher
19 posts
The "Is" Scratch Block
kinda but instead for other scripts not colorsyes something like that but with 2 slots for hexagon scripts and its in operators So you want something like this?<[mouse-pointer v] is <touching color [#05af02]?>:: sensing><<touching color [#444444]> is <touching color [#782364]> :: operators>Doesn't really make sense, though, to have two booleans in it. Are you thinking of this block?<color [#8128b6] is touching [#9128c6] ?>
- Discussion Forums
- » Suggestions
- » The "Is" Scratch Block