Sign in to follow this  
Games

cursor and click mouse events

Recommended Posts

1) mp.gui.cursor.position not work? how use this function?
There is no usage example on the wiki.
2) I include jQuery and try catch 2 events: click and double click.
A single click works, but a double click does not. Outside the game - the example works.
I use this: https://api.jquery.com/dblclick/
3) Disappointed in a double click - I tried to catch a double click through a normal click. But here is the problem. Of the two quick clicks, only one click is processed! What is the trouble? How to implement a double click?

Edited by HeapSpace

Share this post


Link to post
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.