{{newin|[[11.0]]|110|type=function}}
Restricts the drawn sprites in the SpriteBatch to a subset of the total.

== Function ==
=== Synopsis ===
<source lang="lua">
SpriteBatch:setDrawRange( start, count )
</source>
=== Arguments ===
{{param|number|start|The index of the first sprite to draw. Index 1 corresponds to the first sprite added with [[SpriteBatch:add]].}}
{{param|number|count|The number of sprites to draw.}}
=== Returns ===
Nothing.

== Function ==
Allows all sprites in the SpriteBatch to be drawn.
=== Synopsis ===
<source lang="lua">
SpriteBatch:setDrawRange( )
</source>
=== Arguments ===
None.
=== Returns ===
Nothing.

== See Also ==
* [[parent::SpriteBatch]]
* [[SpriteBatch:getDrawRange]]
* [[love.graphics.draw]]
[[Category:Functions]]
{{#set:Description=Restricts the drawn sprites in the SpriteBatch to a subset of the total.}}
== Other Languages ==
{{i18n|SpriteBatch:setDrawRange}}