How would one make the mose move and send a click event or dbl-click event thru an API call ?