I'm currently making a project in block code, but I'm currently having an issue with setting one object's colour to another object's colour. For example, if you wanted to set Sprite_1's opacity to Sprite_2's opacity, you'd use a line of code like:
(Sprite_1) Set opacity to Sprite_2.Opacity
However, there aren't any object variables for red, green or blue that I know of, so I can't do a line of code like:
(Sprite_1) Set colour to rgbEx(Sprite_2.r, Sprite_2.g, Sprite_2.b)
So, is there a way to make a line of code work like the ideal above?