Looking for mouse_up / mouse_down function

  • This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.
#1
Looking for a function that does this.

I need it to determined if the mouse button is down ... and dragging

iff %Mouse_UD == 0 then
: normal
elseiff %Mouse_UD == 1 then
: we are dragging the mouse i need it to get the following
: get old X,Y coords
: get new X,Y coords and save coords as pixels 0,0 0,0
endiff
 
#2
I Found a pure BTM script way of doing this, funnily when writing original
post with example below I figured it out.
I'm sure a plugin would make it all much smaller.

Sent: Tuesday, July 08, 2008 7:00 PM
Subject: [Plugins-t-294] Looking for mouse_up / mouse_down function


: Looking for a function that does this.
:
: I need it to determined if the mouse button is down ... and dragging
:
: iff %Mouse_UD == 0 then
: : normal
: elseiff %Mouse_UD == 1 then
: : we are dragging the mouse i need it to get the following
: : get old X,Y coords
: : get new X,Y coords and save coords as pixels 0,0 0,0
: endiff