valueerror Posted April 8, 2014 Share Posted April 8, 2014 i guess the title says it all.. i would try something like.. if (object1.sprite.parent == 'enemies') {} but it doesn't work.. so pls help.. thank you! Link to comment Share on other sites More sharing options...
valueerror Posted April 8, 2014 Author Share Posted April 8, 2014 damn.. seems like i just found out.. if (object1.sprite.parent == enemies) {} i just had to remove the quotes Link to comment Share on other sites More sharing options...
Recommended Posts