InjectBrowserMouseMove: Difference between revisions

From Multi Theft Auto: Wiki
Jump to navigation Jump to search
m (fix oop)
No edit summary
Line 30: Line 30:
==See also==
==See also==
{{CEF_functions}}
{{CEF_functions}}
[[hu:injectBrowserMouseMove]]

Revision as of 17:40, 10 August 2018

This function injects a mouse movement.

Syntax

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

OOP Syntax Help! I don't understand this!

Method: browser:injectMouseMove(...)


Required arguments

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

Returns

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

Example

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

See Also

Todo

See also