{{newin|[[0.8.0]]|080|type=function|text=It has been renamed from [[SpriteBatch:unlock]]}}
{{deprecatedin|[[0.9.2]]|092|type=function|text=It happens automatically since this version}}
{{oldin|[[0.10.0]]|100|type=function|Use [[SpriteBatch:flush]] if absolutely necessary.}}
Unbinds the [[SpriteBatch]].

All [[SpriteBatch:bind]] calls should have a matching ''SpriteBatch:unbind'' after the batch has been updated.

== Function ==
=== Synopsis ===
<source lang="lua">
SpriteBatch:unbind( )
</source>
=== Arguments ===
None.
=== Returns ===
Nothing.
== See Also ==
* [[parent::SpriteBatch]]
* [[SpriteBatch:bind]]
[[Category:Functions]]
{{#set:Description=Unbinds the SpriteBatch.}}
== Other Languages ==
{{i18n|SpriteBatch:unbind}}