Documentation for the Sketch object uses the "aspect" variable.
However when I want to use it in a personal script I get a "aspect
is not defined" error message.
I have been using the following code to define my jsui's width but
isn't there an easier way to get it?
my_rect = this.box.rect;
width = my_rect - my_rect;
height = my_rect - my_rect;
aspect = width/height;
Thank you in advance.