# SpriteBatch:getImage

Available since LÖVE 0.8.0
This method is not supported in earlier versions.

Deprecated in LÖVE 0.9.1
This function will be removed in a future version. Use SpriteBatch:getTexture instead.

Returns the image used by the SpriteBatch.

## Function

### Synopsis

    image = SpriteBatch:getImage( )

### Arguments

None

### Returns

`Image image`
  The image for the sprites.

## See Also

- SpriteBatch
- SpriteBatch:setImage

##

Category:

- Functions