Guest Jung-yoon Kim Posted January 19, 2005 Posted January 19, 2005 (edited) Hi. I wanna know whether I pressed mouse button down or released mouse button up. _IsPressed('01') returned just down. If I pressed left button lastingly, it returned value 1 continuously. Edited January 19, 2005 by Jung-yoon Kim
ezzetabi Posted January 19, 2005 Posted January 19, 2005 Keep 2 values of _IsPressed, if the last is 0 and the one before is 1 the used released, in the opposite case he pressed.
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now