HU/injectBrowserMouseMove

From Multi Theft Auto: Wiki
Jump to navigation Jump to search

This function injects a mouse movement.

Szintaxis

bool injectBrowserMouseMove ( browser webBrowser, int posX, int posY )

OOP Syntax Help! I don't understand this!

Method: browser:injectMouseMove(...)


Kötelező argumentumok

  • webBrowser: The browser which will retrieve the mouse movement
  • posX: Absolute X screen coordinate
  • posY: Absolute Y screen coordinate

Visszaadott érték

Returns true if the movement was injected successfully, false otherwise.

Példa

function onCursorMove ( relativeX , relativeY , absoluteX , absoluteY ) 
	injectBrowserMouseMove ( browser , absoluteX , absoluteY ) 
end 
addEventHandler ( "onClientCursorMove" , root , onCursorMove )

Lásd még

GUI Függvények

Fordította

  • 'Surge'