I'm trying to change the height & width of a layer by dragging up; using an event listener to change the size by the layer's y value works except the value is descending. I need a value that ascends so the layer can grow. Any ideas?
Maybe value*-1 can help you here?
layer.height = -layer.x
both of these result in in a descending value, only negative. I need the value to grow not shrink.