if I just want to quickly test an assumption or simply see where a view is positioned while writing code, in the browser I entered layer.x into the console. in Studio, the console does not know about these objects. what's the easiest way to debug this way?

ok, attaching it to the window, the variable I import on I add to the window just so I can experiment with it inthe console…

sketch = Framer.Importer.load "imported/XYZ"window.sketch = sketch

Alex Hazel

Technically, if you are doing everything correctly, you don't REALLY need to use a global variable. That is why Coffeescript does everything in its power to stop you from clouding the global namespace with them. Also that is the point of closures. Very rarely are globals justified.

And instead of logging the values to the console, what if you just display the values in the preview window of Framer and have the coordinates update automatically each time Framer recompiles.