When gss processed commands, it generates variables for every property. Element with id #my-drag will have it's top/left location be stored in variables $my-drag[x] and $my-drag[y].Those are absolute values coming from top/left of the document. GSS will takes care of parent offsets automatically when it applies values. Applying a linear constraint will produce default values, that you can redefine via engine.solve().