Thanks. I still can't get this idea to work, although it's setting the strings OK now.
I've got 4 directional buttons that are part of a Don'tDestroy canvas (up, down, left, right). The buttons when clicked call on the global variable for Left, Right, Down, Up. On each scene, the global variables are set using a local variable which tells it which scene is next for up, down, left right.
That works.
The problem is, not all scenes have all directions, so I've set the local as "no". I then do a string compare and if the answer is "no", it should make the button inactive (I've also tried set visible). This is not working.
On scene start, my FSM that holds the local variables makes all the buttons visible/active, then does the string compare and should set those "no" buttons as inactive. in the next scene, they should reset as active. This is not working.
Advice greatly appreciated. Been stuck on this for days.