Test setting / getting variables without leaving cables

entering the following (from the doc) in the chrome console
var myCablesVar = gui.patch().scene.getVar(‘xpos’);

throws the error
VM1113:1 Uncaught ReferenceError: gui is not defined
at :1:19

?

thx!

cables (now) runs in a sandbox iframe, so you have to switch to another context
there is a dropdown above the console, switch to “editorframe”: