Welcome!

By registering with us, you'll be able to discuss, share and private message with other members of our community.

SignUp Now!

Looking for mouse_up / mouse_down function

May
57
0
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
 
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
 
Back
Top