# ParticleSystem:setTexture

Available since LÖVE 0.9.1
It has been renamed from ParticleSystem:setImage.

Sets the texture (Image or Canvas) to be used for the particles.

## Function

### Synopsis

    ParticleSystem:setTexture( texture )

### Arguments

`Texture texture`
  An Image or Canvas to use for the particles.

### Returns

Nothing.

## See Also

- ParticleSystem
- ParticleSystem:getTexture

##

Category:

- Functions