-
Mouse Dragging Image
I am trying to figure out how, or an equation on how to do this.
I have the active object which is a picture of variable size. I can drag it around no problem but I don't want the pic to center on the mouse position. I'd like it so when the mouse is held down and I'm about to drag it, it doesn't auto center/move.
Any incite on how to do this? The only thing I can think of involves a ton of variables and wondering if there is an easier way, thanks!
-
Re: Mouse Dragging Image
Mouse is not held down, set a couple variables to the X and Y position relative to the image. hwne dragging the image, add the offset from those variables. ;)
-
Re: Mouse Dragging Image
ahh, that was it. Thanks!