I’m having no trouble using instance.publishState to set the state, but how do I read the state from within my javascript? For instance, if the state were called ‘myState’ I know to set it with instance.publishState.myState and that’s working, but how exactly do I read the data of the current state? I’m currently setting a separate variable and reading that, but I’m sure there’s a more efficient way to do it.
A simple question, I’m sure, but I’ve looked through the documentation and searched the forum but I just can’t find it. Thanks for any help you can provide this newbie!