Discuss Scratch

Asherlr23
Scratcher
1 post

Is there a way to get a color from a backdrop or costume?

I was working a triangles effect thing in one of my remixes of osu!js (See what I mean by by triangles here: https://scratch.mit.edu/projects/538211983/) And I wanted to add a option to color the triangles in a similar way as the background. Is there a way to do that? Thanks.


if <[ERROR: File "Asherlr23.dll" not found] = [true]> then
PANIC
end
The_Agent_J
Scratcher
100+ posts

Is there a way to get a color from a backdrop or costume?

Go to where you would select a color, then click the thing in the bottom right corner of the thing that pops up, then select the color.

1010101O1jr
Scratcher
27 posts

Is there a way to get a color from a backdrop or costume?

Try turning all backgound and the triangle to white (for color effect) it will probably work
Then make a variable called “back gound effect”
Now do the following code
when green flag clicked
set [ backgoung effect] to [50]
set [ color] effect to ((backgound effect))
The backdrop code
Next for the triangle you need to set the color effect to the backgound effect variable

Powered by DjangoBB