HU/injectBrowserMouseMove

From Multi Theft Auto: Wiki
Revision as of 17:41, 10 August 2018 by Surge (talk | contribs) (Created page with "__NOTOC__ {{Client function hu}} {{New feature/item|3.0150|1.5|| This function injects a mouse movement. }} ==Szintaxis== <syntaxhighlight lang="lua"> bool injectBrowserMouse...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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