{{newin|[[0.7.2]]|072|type=method}}
{{oldin|[[0.10.0]]|100|type=function|text=Use [[SpriteBatch:setTexture]] instead}}
Replaces the image used for the sprites.
== Function ==
=== Synopsis ===
<source lang="lua">
SpriteBatch:setImage( image )
</source>
=== Arguments ===
{{param|Image|image|The new Image to use for the sprites.}}
=== Returns ===
Nothing.
== See Also ==
* [[parent::SpriteBatch]]
* [[SpriteBatch:getImage]]
[[Category:Functions]]
{{#set:Description=Replaces the image used for the sprites.}}
== Other Languages ==
{{i18n|SpriteBatch:setImage}}