{{newin|[[0.9.0]]|090|type=function}}
Gets the maximum number of sprites the SpriteBatch can hold.

== Function ==
=== Synopsis ===
<source lang="lua">
size = SpriteBatch:getBufferSize( )
</source>
=== Arguments ===
None.
=== Returns ===
{{param|number|size|The maximum number of sprites the batch can hold.}}
== See Also ==
* [[parent::SpriteBatch]]
* [[SpriteBatch:setBufferSize]]
* [[SpriteBatch:getCount]]
[[Category:Functions]]
{{#set:Description=Gets the maximum number of sprites the SpriteBatch can hold.}}
== Other Languages ==
{{i18n|SpriteBatch:getBufferSize}}