I have a computer that when you complete an objective, it’s screen turns green. However, I want the colour of a projector to equal the computer’s colour.
Would this Sudo code work?
MatchingColour = Computer.BrickColour
Projector.BrickColour = MatchingColour
that will work if you replace BrickColour with BrickColor, but i would recommend using just Color, because you can use any color in the spectrum with Color, not just the BrickColors
1 | Projector.Color = Computer.Color |
if you want to set some Parts Color with RGB, then use
1 | Computer.Color = Color 3. fromRGB(red value,green value,blue value) |