Page 1 of 1

Mouselocate() doesn't work

Posted: Sun Apr 21, 2019 6:34 am
by Stefan

Code: Select all

OpenWindow(0,10,10,800,600,"Test",#PB_Window_Normal)
ExamineMouse()
MouseLocate(10,10)
Mouse doesn't move. What do I wrong?

Re: Mouselocate() doesn't work

Posted: Sun Apr 21, 2019 8:20 am
by Arbrakaan

Code: Select all

OpenWindow(0,10,10,800,600,"Test",#PB_Window_Normal)
ExamineMouse()
Debug MouseX()
MouseLocate(10,10)
Debug MouseX()
The "mouse" move well, but not the cursor.
You can't move the cursor in JS for security reasons.