{{newin|[[0.9.0]]|090|type=function}}
Gets the number of sprites currently in the SpriteBatch.
== Function ==
=== Synopsis ===
<source lang="lua">
count = SpriteBatch:getCount( )
</source>
=== Arguments ===
None.
=== Returns ===
{{param|number|count|The number of sprites currently in the batch.}}
== See Also ==
* [[parent::SpriteBatch]]
* [[SpriteBatch:getBufferSize]]
[[Category:Functions]]
{{#set:Description=Gets the number of sprites currently in the SpriteBatch.}}
== Other Languages ==
{{i18n|SpriteBatch:getCount}}