Discuss Scratch

javvMonroy
New to Scratch
3 posts

Changing block color

Hi, does anyone know if it's possible to change the color of a block when I click on it? I want to change it from my extension of course.
savaka
Scratcher
1000+ posts

Changing block color

AFAIK the only way to change the color of blocks is by changing the color of the category using the Edit Block Colors menu, they can not be changed using JavaScript
ThePalmTree_
Scratcher
100+ posts

Changing block color

idk, but @savaka may be right
javvMonroy
New to Scratch
3 posts

Changing block color

oh ok ok, thank you for answer
Corinthia
Scratcher
29 posts

Changing block color

I've always wanted to know how to do this too.

I have shared my London Hotels projects on Scratch.
Smurphy13AWESOME
Scratcher
100+ posts

Changing block color

That would be helpful I'm glad there is a way to do it!

Call me Smurphy! Main account. Read my writing! Check out my projects, the link to my profile is just to the left.(Click the picture) Those who stand for nothing, fall for anything. If you want to reply please do it on my profile.

- Smurphy
torotv
Scratcher
100+ posts

Changing block color

javvMonroy wrote:

Hi, does anyone know if it's possible to change the color of a block when I click on it? I want to change it from my extension of course.
It is possible, Check this project out,https://scratch.mit.edu/projects/170506221/


Bobbyguy1
Scratcher
100+ posts

Changing block color

How do you make scratch extensions? Do you download them?

Gamer | Male | Scratcher | Funny | Creative | Friendly
savaka
Scratcher
1000+ posts

Changing block color

Bobbyguy1 wrote:

How do you make scratch extensions? Do you download them?
Please do not post unrelated questions in forum topics (this one is about “changing block color”). Please post new questions in a new topic.
Also, this question should be answered by the sticky topic "Welcome to the Developing Scratch Extensions Forum!“ Click the link for ”Extensions Documentation and Sample code" for instructions on how to write extensions.
RaphGill
Scratcher
10 posts

Changing block color

My students will like it.

______________________________________________
Primary Teacher
French International School
_______________________________________________
Class website : CM2 Class French International School
Personal website: Kitesurf Madagascar Sakalava

Powered by DjangoBB

Standard | Mobile