<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.multitheftauto.com/wiki/DgsIsAniming?action=history&amp;feed=atom</id>
	<title>DgsIsAniming - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.multitheftauto.com/wiki/DgsIsAniming?action=history&amp;feed=atom"/>
	<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=DgsIsAniming&amp;action=history"/>
	<updated>2026-05-27T19:56:22Z</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=DgsIsAniming&amp;diff=55240&amp;oldid=prev</id>
		<title>Thisdp: Created page with &quot;__NOTOC__  {{Client function}} This function allow us to check whether the dgs element is being animated dgsAnimTo. ==Syntax==  &lt;syntaxhighlight lang=&quot;lua&quot;&gt; table dgsIsAni...&quot;</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=DgsIsAniming&amp;diff=55240&amp;oldid=prev"/>
		<updated>2018-06-10T02:36:33Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;__NOTOC__  {{Client function}} This function allow us to check whether the dgs element is being animated &lt;a href=&quot;/wiki/DgsAnimTo&quot; title=&quot;DgsAnimTo&quot;&gt;dgsAnimTo&lt;/a&gt;. ==Syntax==  &amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt; table dgsIsAni...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;__NOTOC__ &lt;br /&gt;
{{Client function}}&lt;br /&gt;
This function allow us to check whether the dgs element is being animated [[dgsAnimTo]].&lt;br /&gt;
==Syntax== &lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
table dgsIsAniming ( element dgsElement )&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Required Arguments=== &lt;br /&gt;
*'''dgsElement:''' The DGS element to check.&lt;br /&gt;
&lt;br /&gt;
===Returns===&lt;br /&gt;
Returns a table with animation data if succeed, ''false'' otherwise.&lt;br /&gt;
&lt;br /&gt;
==Example==&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
DGS = exports.dgs&lt;br /&gt;
&lt;br /&gt;
parent = DGS:dgsCreateWindow(200,100,400,400,&amp;quot;DGS Parent Window&amp;quot;,false)	--Create a window&lt;br /&gt;
DGS:dgsAnimTo(parent,&amp;quot;titlesize&amp;quot;,50,_,5000)&lt;br /&gt;
setTimer(function()&lt;br /&gt;
	if DGS:dgsIsAniming(parent) then&lt;br /&gt;
		outputChatBox(&amp;quot;Window is in motion!&amp;quot;,0,255,0)&lt;br /&gt;
	else&lt;br /&gt;
		outputChatBox(&amp;quot;Window is at rest!&amp;quot;,255,0,0)&lt;br /&gt;
	end&lt;br /&gt;
end,1000,3)&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==See Also==&lt;br /&gt;
{{DGSFUNCTIONS}}&lt;/div&gt;</summary>
		<author><name>Thisdp</name></author>
	</entry>
</feed>