1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Looking for mouse_up / mouse_down function

Discussion in 'Plugins' started by Rex Clark, Jul 8, 2008.

  1. Rex Clark

    Joined:
    May 30, 2008
    Messages:
    57
    Likes Received:
    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
     
  2. Rex Clark

    Joined:
    May 30, 2008
    Messages:
    57
    Likes Received:
    0
    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
     

Share This Page