B
Billy
Guest
I am trying to make an object change its colour when i press a button and it works, the code is:
on (press) {
myColor = new Color(test2);
myColor.setRGB(0x0000ff);
}
This will change the colour of "test2" to blue.
Now im wondering if its possible that the colour changes to (for example) yellow if the button is pressed a second time.
Also, is it possible to change the colour of two or more objects at one time?
appreciate any suggestions
on (press) {
myColor = new Color(test2);
myColor.setRGB(0x0000ff);
}
This will change the colour of "test2" to blue.
Now im wondering if its possible that the colour changes to (for example) yellow if the button is pressed a second time.
Also, is it possible to change the colour of two or more objects at one time?
appreciate any suggestions
