If game.BallColor = 1 then; Change attribute self.color.Red to X, self.color.green to X, self.color.blue to X (Depending on which color you want to change it to).
This is only possible if you're ball is WHITE and you want to change it to whatever color. If you're ball has a color on it then it'll make the ball look weird (i.e. if you have a red ball as your image.png and you try to make it blue, it'll come out a weird dark purple/blue color).
Or you can make separate images for each ball; Rule if game.ballcolor = 1 then change image to image.png
Comments
If game.BallColor = 1 then;
Change attribute self.color.Red to X, self.color.green to X, self.color.blue to X (Depending on which color you want to change it to).
This is only possible if you're ball is WHITE and you want to change it to whatever color. If you're ball has a color on it then it'll make the ball look weird (i.e. if you have a red ball as your image.png and you try to make it blue, it'll come out a weird dark purple/blue color).
Or you can make separate images for each ball;
Rule if game.ballcolor = 1
then change image to image.png
etc. etc.