Hi,
I'm trying to code the following:
I have an 'show info' button at the top of the screen. When a player clicks on this it will make the text items with helpful information 'visible'. The button text then will display 'hide info' and when the player presses it, information will become 'invisible'. I can only get the first part to work, making things 'visible'. Is there something wrong with my events?
My events are as follows:
Button 1: On clicked
& Button1 is instance variable=0 >>>>>> text item: Set visible
& set Button1 instance variable=1
Button 1: On clicked
& Button1 is instance variable=1 >>>>>> text item: Set invisible
& set Button1 instance variable=0
If button1 instance variable=0 >>>>>>>Button 1: set text "show info"
If button1 instance variable=1 >>>>>>>Buton 1: set text "hide info"
it only works for the first part, whenever I try and enable the second part to 'hide info' nothing works.