Discuss Scratch
- Discussion Forums
- » Suggestions
- » mouse is touching color ()?
- Pandan_the_coder
- Scratcher
100+ posts
mouse is touching color ()?
This is what the block would look like:
It detects if the mouse-pointer is touching a certain color. It would be a Boolean block in the Sensing category. There is a way for sprites to detect if other sprites are touching specific colors through broadcasting, but not with the mouse.
<mouse is touching color [#79596a] ?>
It detects if the mouse-pointer is touching a certain color. It would be a Boolean block in the Sensing category. There is a way for sprites to detect if other sprites are touching specific colors through broadcasting, but not with the mouse.
Join my collab series! —> https://scratch.mit.edu/discuss/topic/726760/
- Pandan_the_coder
- Scratcher
100+ posts
mouse is touching color ()?
Also, how can I make the block light blue?
Join my collab series! —> https://scratch.mit.edu/discuss/topic/726760/
- Prime689
- Scratcher
1000+ posts
mouse is touching color ()?
Put :: sensing at the end. Also, how can I make the block light blue?
6'2 - they/them - canadian - teen
- Pandan_the_coder
- Scratcher
100+ posts
mouse is touching color ()?
<mouse is touching color [#bd46f4] ?> :: sensing
Join my collab series! —> https://scratch.mit.edu/discuss/topic/726760/
- Pandan_the_coder
- Scratcher
100+ posts
mouse is touching color ()?
All that did was make a stack block with the red Boolean block there.
Join my collab series! —> https://scratch.mit.edu/discuss/topic/726760/
- Autofirejm
- Scratcher
1000+ posts
mouse is touching color ()?
Sorry, but I don’t support, there’s an easy workaround if you use an extra sprite:
When wanting color in your blocks, do this:
For Stack: example :: category or hex color
For Boolean: <example :: category or hex color>
For operators: (example :: category or hex color)
For caps: example cap :: cap category or hex color
For hats: example hat :: hat category or hex color
Here’s the examples (in category: operators):
when green flag clickedAlso, here’s some help,
Forever
go to x: (mouse x) y: (mouse y)
if <touching color [#eaeaea] ?> then
Your code here :: #aaaaaa
end
end
When wanting color in your blocks, do this:
For Stack: example :: category or hex color
For Boolean: <example :: category or hex color>
For operators: (example :: category or hex color)
For caps: example cap :: cap category or hex color
For hats: example hat :: hat category or hex color
Here’s the examples (in category: operators):
<example :: operators>
(Example :: operators)
Example hat :: hat operators
Example :: operators
Example cap :: cap operators
i'm baaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaack!!!!!
Select and shift+down to see the rest of my siggy
“POSTIE-POST”
comment “siggy shortener” because yes
Select and shift+down to see the rest of my siggy
“POSTIE-POST”
comment “siggy shortener” because yes
- Pandan_the_coder
- Scratcher
100+ posts
mouse is touching color ()?
<mouse is touching color [#ee9e49] ? :: sensing>
Join my collab series! —> https://scratch.mit.edu/discuss/topic/726760/
- scratchgodo
- Scratcher
1000+ posts
mouse is touching color ()?
Please edit the post to add the to the topic.<mouse is touching color [#ee9e49] ? :: sensing>
Never mind you are a new scratcher.
Last edited by scratchgodo (Dec. 29, 2021 14:38:00)
(Thanks to butterfly_cat8 for part of the thumbnail for Cat TV used in this banner.)
Suggest purple things on my profile I can feed to Cat Posts, Cat Comments, Cat Replies or even better the Cat Profile in the link.
- IndexErrorException
- Scratcher
500+ posts
mouse is touching color ()?
Support. The workaround is easy but annoying to do and the boolean route is much cleaner to use aswell.
- YtArie5
- Scratcher
1000+ posts
mouse is touching color ()?
Support, I might use this, here's a workaround until it gets added.
forever
go to [ Mouse pointer]
end
<touching color [#173c56] ?>
Last edited by YtArie5 (Jan. 13, 2022 22:13:30)
everything below is my signature, it appears under everything I post.
(Y::undefined)(T::variables)(A::control)(R::operators)(I::sensing)(E::motion)(5::looks) ::extension
Outside I'm smiling but inside I'm sans the skeleton
Why are you here you extension user!?!?
[quote=Future Paddle2see]Please create a separate topic for each suggestion you have, rather than creating a list of suggestions. That way, the conversation stays focused and each idea can get the attention it needs.
Before making a new topic, please check out the following:
[list][url=https://scratch.mit.edu/discuss/topic/657522/]The Suggestions Directory.[/url] If your suggestion is in this list, please continue the discussion in the existing topic, rather than making a new topic.[/list]
[list]
[url=https://scratch.mit.edu/discuss/topic/343602/]The Official List of Rejected Suggestions.[/url] If your suggestion is in this list, please do not make a new topic about it, as it will not be implemented anyway.
[/list]
Thank you![/quote]
Please only create new threads here if you're a New Scratcher introducing yourself the community. Check out [url=https://scratch.mit.edu/discuss/topic/399690/]Making a guide/welcome topic? Please read this first![/url]
- CoolBoy4286
- Scratcher
100+ posts
mouse is touching color ()?
No support, there is a super easy workaround to this.
01001110 01100101 01110110 01100101 01110010 00100000 01100111 01101111 01101110 01101110 01100001 00100000 01100111 01101001 01110110 01100101 00100000 01111001 01101111 01110101 00100000 01110101 01110000 if you translate this,
- dave-alt-4
- Scratcher
1000+ posts
mouse is touching color ()?
that sometimes don't work :p Sorry, but I don’t support, there’s an easy workaround if you use an extra sprite:when green flag clicked
Forever
go to x: (mouse x) y: (mouse y)
if <touching color [#eaeaea] ?> then
Your code here :: #aaaaaa
end
end
example - doesn't work due to layering and ghost effect problems
therefore , support
guide to make good projects <3
Think! Is saying if you support a suggestion necessary? No! People can just tell by your constructive post after it. You have more freedom on your tone!
Forumers, especially new, may also get upset if you say “no support!!!” at them! They may take the whole post in a negative tone, and that makes them upset!
Instead, you can kindly say why their suggestion has cons. They will take it as “constructive criticism” and be happy. - dertermenter
Forumers, especially new, may also get upset if you say “no support!!!” at them! They may take the whole post in a negative tone, and that makes them upset!
Instead, you can kindly say why their suggestion has cons. They will take it as “constructive criticism” and be happy. - dertermenter
- Discussion Forums
- » Suggestions
- » mouse is touching color ()?