change colour to random colour

-Timo--Timo- Member Posts: 2,313
I want my actor to change to a random colour,
I tried:
change attribute self.color.green to random(1,255)
change attribute self.color.blue to random(1,255)
change attribute self.color.red to random(1,255)
but the actor stays white...
can someone help me?
Sign In or Register to comment.