i am trying to simulate if an object XYZ is touched and object B is visible then this object should become invisible otherwise if object XYZ is touched and object B is invisible then object B become visible.... But i am unable to simulate this condition and it handle only one condition ...for e.g. after the object become visible then i am unable to make it invisible using same touch technique....scripts are in my attached image
[attachment=0:2hvan7rj][/attachment:2hvan7rj]