<?xml version="1.0"?>
<?xml-stylesheet type="text/css" href="http://www.oxeyegames.com/wiki/skins/common/feed.css?270"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>http://www.oxeyegames.com/wiki/index.php?action=history&amp;feed=atom&amp;title=GetSpriteStateSize</id>
		<title>GetSpriteStateSize - Revision history</title>
		<link rel="self" type="application/atom+xml" href="http://www.oxeyegames.com/wiki/index.php?action=history&amp;feed=atom&amp;title=GetSpriteStateSize"/>
		<link rel="alternate" type="text/html" href="http://www.oxeyegames.com/wiki/index.php?title=GetSpriteStateSize&amp;action=history"/>
		<updated>2026-05-11T03:39:33Z</updated>
		<subtitle>Revision history for this page on the wiki</subtitle>
		<generator>MediaWiki 1.16.0</generator>

	<entry>
		<id>http://www.oxeyegames.com/wiki/index.php?title=GetSpriteStateSize&amp;diff=36&amp;oldid=prev</id>
		<title>Jeb: Created page with '{{VideoMethod | video.getSpriteStateSize(spriteId) | Fetches the width and height of a sprite state. Currently this method will always return the size of the first frame of the a...'</title>
		<link rel="alternate" type="text/html" href="http://www.oxeyegames.com/wiki/index.php?title=GetSpriteStateSize&amp;diff=36&amp;oldid=prev"/>
				<updated>2009-03-05T15:17:58Z</updated>
		
		<summary type="html">&lt;p&gt;Created page with &amp;#39;{{VideoMethod | video.getSpriteStateSize(spriteId) | Fetches the width and height of a sprite state. Currently this method will always return the size of the first frame of the a...&amp;#39;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{VideoMethod&lt;br /&gt;
|&lt;br /&gt;
video.getSpriteStateSize(spriteId)&lt;br /&gt;
|&lt;br /&gt;
Fetches the width and height of a sprite state. Currently this method will always return the size of the first frame of the animation, in case the animation has several frames.&lt;br /&gt;
|&lt;br /&gt;
{{MethodParam|spriteId|An integer|The ID of the sprite state. This id IS retrieved when calling [[createSpriteState]].}}&lt;br /&gt;
|&lt;br /&gt;
Returns two values, width and height, or nil in case the sprite state doesn't exist.&lt;br /&gt;
}}&lt;br /&gt;
=== Example ===&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
   local w,h = video.getSpriteStateSize(sprite)&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;/div&gt;</summary>
		<author><name>Jeb</name></author>	</entry>

	</feed>