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.
try this
[attachment=0:3pmra996][/attachment:3pmra996]
Develop games in your browser. Powerful, performant & highly capable.
to (( codah ))
Thanx .. really your help was high appreciated from me .. thanx for your time ,, hope you the best .
try this [attachment=0:c2saxsmz][/attachment:c2saxsmz]
[attachment=0:c2saxsmz][/attachment:c2saxsmz]
you're welcome. puntodamar 's solution is equally fine