<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.multitheftauto.com/wiki/OnDgsMouseHover?action=history&amp;feed=atom</id>
	<title>OnDgsMouseHover - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.multitheftauto.com/wiki/OnDgsMouseHover?action=history&amp;feed=atom"/>
	<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=OnDgsMouseHover&amp;action=history"/>
	<updated>2026-04-08T16:22:08Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.39.3</generator>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=OnDgsMouseHover&amp;diff=73923&amp;oldid=prev</id>
		<title>Thisdp: Created page with &quot;{{Client event}} __NOTOC__  This event will be triggered continuously when a dgs element is being hovered.  ==Parameters==  &lt;syntaxhighlight lang=&quot;lua&quot;&gt; int tick, int absoluteX, int absoluteY &lt;/syntaxhighlight&gt;  * '''tick''': A number indicates how long the dgs element has been hovered in millisecond. * '''absoluteX''':  The X position of the mouse cursor, in pixels, measured from the left side of the screen. * '''absoluteY''':  The Y position of the mouse cursor, in pix...&quot;</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=OnDgsMouseHover&amp;diff=73923&amp;oldid=prev"/>
		<updated>2022-01-31T14:14:46Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;{{Client event}} __NOTOC__  This event will be triggered continuously when a dgs element is being hovered.  ==Parameters==  &amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt; int tick, int absoluteX, int absoluteY &amp;lt;/syntaxhighlight&amp;gt;  * &amp;#039;&amp;#039;&amp;#039;tick&amp;#039;&amp;#039;&amp;#039;: A number indicates how long the dgs element has been hovered in millisecond. * &amp;#039;&amp;#039;&amp;#039;absoluteX&amp;#039;&amp;#039;&amp;#039;:  The X position of the mouse cursor, in pixels, measured from the left side of the screen. * &amp;#039;&amp;#039;&amp;#039;absoluteY&amp;#039;&amp;#039;&amp;#039;:  The Y position of the mouse cursor, in pix...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{Client event}}&lt;br /&gt;
__NOTOC__ &lt;br /&gt;
This event will be triggered continuously when a dgs element is being hovered.&lt;br /&gt;
&lt;br /&gt;
==Parameters== &lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
int tick, int absoluteX, int absoluteY&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt; &lt;br /&gt;
* '''tick''': A number indicates how long the dgs element has been hovered in millisecond.&lt;br /&gt;
* '''absoluteX''':  The X position of the mouse cursor, in pixels, measured from the left side of the screen.&lt;br /&gt;
* '''absoluteY''':  The Y position of the mouse cursor, in pixels, measured from the top of the screen.&lt;br /&gt;
==Source==&lt;br /&gt;
The [[event system#Event source|source]] of this event is the DGS element that was pointed at.&lt;br /&gt;
&lt;br /&gt;
==Example== &lt;br /&gt;
This example keeps showing a message when you move over a DGS element.&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
addEventHandler( &amp;quot;onDgsMouseHover&amp;quot;, root, function(tick, aX, aY)&lt;br /&gt;
	outputChatBox( &amp;quot;You're hovering on a DGS element at (&amp;quot;..tostring(aX)..&amp;quot;, &amp;quot;..tostring(aY)..&amp;quot;), and there has been &amp;quot;..tick..&amp;quot; ms&amp;quot;)&lt;br /&gt;
end)&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==See Also==&lt;br /&gt;
===DGS events===&lt;br /&gt;
{{DGSEVENTS}}&lt;br /&gt;
===Client event functions===&lt;br /&gt;
{{Client_event_functions}}&lt;/div&gt;</summary>
		<author><name>Thisdp</name></author>
	</entry>
</feed>