Well I'm testing and balancing my "game" and trying to access variables using the console directly in my browser. I saw a lot of places saying to use state.active or history[0].variables... but I can't get to it... the variable "state" doesn't exist..
Comments
The state.history[0].variables object is how you access variables in Javascript if you are using one of the (vanilla) story formats that come with Twine 1.
The state.active.variables object is how you access variables if you are using SugarCube 1.x or 2.x
Harlowe does not have a documented Javascript API, and it's engine has been deliberately designed/implement to make it difficult to access it's internals.