Choeeey Posted February 26, 2015 Share Posted February 26, 2015 So normally I have no problems with adding a sprite, and then killing it a later time. I manage to kill the sprite named goalSprite later on with no problems. I use the exact same code to kill the addWaitSprite and it just won't kill for some reason. The only difference I see is how the name of the addwaitSprite is in green? I can't get it to not be green :S Any ideas? The above screen shot is just to show the difference in variable colors (I know some of the code is cut off on the top line) Link to comment Share on other sites More sharing options...
drhayes Posted March 27, 2015 Share Posted March 27, 2015 It being green is probably just a bug in your text editor, not causing the issue you're describing. Can you post the code that shows how you kill it, preferably the whole function? Choeeey 1 Link to comment Share on other sites More sharing options...
Choeeey Posted March 27, 2015 Author Share Posted March 27, 2015 It actually randomly started working again the next day after I posted this, thank you anyway Link to comment Share on other sites More sharing options...
Recommended Posts