Jump to content

MouseEvents vs getMouse() methods


Recommended Posts

Posted (edited)

Both of the above can be used to manipulate the mouse. What are the advantages and disadvantages of each?

I am attempting to click and move the mouse in quick succession (with the least possible delay). Which approach of the two is most suitable?
Is there any way to combine multiple mouse events into one?

Edited by Adept
Posted
28 minutes ago, Adept said:

Both of the above can be used to manipulate the mouse. What are the advantages and disadvantages of each?

I am attempting to click and move the mouse in quick succession (with the least possible delay). Which approach of the two is most suitable?
Is there any way to combine multiple mouse events into one?

The getMouse() methods make use of MouseEvent.

If you need more customisation of the mouse movements then use a MouseEvent

  • Like 1

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
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...