I know this is a painfully simple question, but I have something like this:
And what I'd like to do is set limitations so as the image is being dragged, it can't go past certain X/Y limits that I specify. How should I set this up?Code:on (press) { startDrag(this); } on (release) { stopDrag(); }


Reply With Quote
