i am making a game where you have a character and you type in a colour in a input box and it changes to a frame where the character is that colour if the colour dosent exist it says try a different colour
that works fine. but i whant it so if your green for example and you step on grass it will turn green but if your red and you step on the grass it will just stay black im thinking about doing it throgh frames not dynamicly change colour.
but i dont no where to start on the script where you step on it and it changes colour when you have selected green and not to change when you have selected another colour.....
use an if-statement to determine whether to execute that gotoAndStop("green") method.