I have a problem with Lua mouse script using G hub api. Everything works except for mouse-move functions, for example MoveMouseTo or MoveMouseRelative. Even MoveMouseWheel works fine. Here is my code. Thank you for any feedback.
There are no error logs. Text prints out. My code
Try to use function
SmoothMoveMouseTo(x_in_pixels, y_in_pixels)instead ofMoveMouseTo()For example,
SmoothMoveMouseTo(1920/2, 1080/2)to move to the center of the screen