hi all ..
actually this problem drive me crazy ..
i want when i touch (object1) the ( object2 be invisible) , and when i touch (object1) again then the ( object2 be visible !) .. and so on . ( file attached )
any help will be highly appreciated.
make an instance variable called isVisible to object2.
whenever object 1 is clicked, check whether isVisible is true or not.
if false set it to true, then set object2 to invisible.
if true, set it to false, then set object2 to visible.
to (( codah ))
Thanx .. really your help was high appreciated from me .. thanx for your time ,, hope you the best .
Develop games in your browser. Powerful, performant & highly capable.
you're welcome. puntodamar 's solution is equally fine