See if this world attached is what you need. What I did was have one method with two variables and two parameters in the method;
Code:
[obj]whichSphere , [color]whichColor
were the parameters, and
Code:
[color]snowmanColor , [color]sphereColor
were the variables.
The method itself looked like this:
Code:
Do together(
[color]snowmanColor set value to [color]whichColor
[color]sphereColor set value to [color]whichColor)
Do together(
[obj]whichSphere set color to [color]sphereColor, duration = 0 seconds
snowman set color to [color]sphereColor, duration = 0 seconds)
As for events, I had a rather long (perhaps not-required) list:
Code:
When {mouse} is clicked on sphere, do world.my first method (whichSphere = sphere, whichColor = red)
When {mouse} is clicked on sphere, do world.my first method (whichSphere = sphere2, whichColor = none)
When {mouse} is clicked on sphere, do world.my first method (whichSphere = sphere3, whichColor = none)
When {mouse} is clicked on sphere, do world.my first method (whichSphere = sphere4, whichColor = none)
When {mouse} is clicked on sphere2, do world.my first method (whichSphere = sphere2, whichColor = green)
When {mouse} is clicked on sphere2, do world.my first method (whichSphere = sphere, whichColor = none)
When {mouse} is clicked on sphere2, do world.my first method (whichSphere = sphere3, whichColor = none)
When {mouse} is clicked on sphere2, do world.my first method (whichSphere = sphere4, whichColor = none)
When {mouse} is clicked on sphere3, do world.my first method (whichSphere = sphere3, whichColor = blue)
When {mouse} is clicked on sphere3, do world.my first method (whichSphere = sphere, whichColor = none)
When {mouse} is clicked on sphere3, do world.my first method (whichSphere = sphere2, whichColor = none)
When {mouse} is clicked on sphere3, do world.my first method (whichSphere = sphere4, whichColor = none)
When {mouse} is clicked on sphere4, do world.my first method (whichSphere = sphere4, whichColor = orange)
When {mouse} is clicked on sphere4, do world.my first method (whichSphere = sphere, whichColor = none)
When {mouse} is clicked on sphere4, do world.my first method (whichSphere = sphere2, whichColor = none)
When {mouse} is clicked on sphere4, do world.my first method (whichSphere = sphere3, whichColor = none)
Hope it helps to make yours, I wasn't going for efficiency when writing it.