{{newin|[[0.9.1]]|091|type=function|text=It has been renamed from [[ParticleSystem:setImage]]}}
Sets the texture ([[Image]] or [[Canvas]]) to be used for the particles.
== Function ==
=== Synopsis ===
<source lang="lua">
ParticleSystem:setTexture( texture )
</source>
=== Arguments ===
{{param|Texture|texture|An [[Image]] or [[Canvas]] to use for the particles.}}
=== Returns ===
Nothing.
== See Also ==
* [[parent::ParticleSystem]]
* [[ParticleSystem:getTexture]]
[[Category:Functions]]
{{#set:Description=Sets the texture ([[Image]] or [[Canvas]]) to be used for the particles.}}
== Other Languages ==
{{i18n|ParticleSystem:setTexture}}