Page 1 of 1

How would I make a drag function only happen when...

PostPosted: Sat Dec 12, 2009 10:33 pm
by Hblade
Hey how can I make a drag item event only when a switch or a button is pressed? Is their a code that indicates rather the mouse / drag feature can be turned on or off?

Re: How would I make a drag function only happen when...

PostPosted: Sat Dec 12, 2009 10:37 pm
by skydereign
You can use the FollowMouse function, turning follow on or off pending a variable. The follow mouse will allow it to appear as if it is being dragged.

Re: How would I make a drag function only happen when...

PostPosted: Sat Dec 12, 2009 10:57 pm
by Hblade
Thanks :D

Re: How would I make a drag function only happen when...

PostPosted: Sat Dec 12, 2009 11:16 pm
by 4erv'
Wow, already replied.. I was to slow on making the example demo :D