<!DOCTYPE html>
<html>
<head>
<title>LEXSDL_SpriteGetCurrentFrame</title>
<link rel="stylesheet" href="styles.css">
</head>
<header>
<h1>LEXSDL_SpriteGetCurrentFrame</h1>
<hr>
</header>
<body>
<p>
Returns the frame number the sprite is at.
</p>
<h2>Function</h2>
<code><ul>
uint32_t LEXSDL_SpriteGetCurrentFrame(int id);
</ul></code>
<h2>Return</h2>
<ul>
0 : Invalid id, sprite might not exist or was deleted.<br>
1+ : Frame the sprite is at.<br>
</ul>
<h2>Parameters</h2>
<ul>
int <b>id</b> : The id of the sprite<br>
</ul>
</body>
<footer>
<br>
<hr>
<a href=FrontPage.html>FrontPage</a> <b>|</b> <a href=https://gitlab.com/Alexevier/lexsdl>GitLab</a> <b>|</b> <a href=https://crates.io/crates/lexsdl>Crates.io</a>
</footer>
</html>