how to change color of sprite randomly when a player press “play” botton?
Create the conditions (cursor on button + left mouse up) and add a “Global Color” ( under “Sprite”->“Effects” ) action to it.
The action expects a string of “red;green;blue” values from 0-255 each. In order to make it completely random you could set the string to:
LargeNumberToString(Random(255)) + ";" + LargeNumberToString(Random(255)) + ";" + LargeNumberToString(Random(255))