# Mesh:getImage

Available since LÖVE 0.9.0
This function is not supported in earlier versions.

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

Gets the Image used when drawing the Mesh.

## Function

### Synopsis

    image = Mesh:getImage( )

### Arguments

None.

### Returns

`Image image (nil)`
  The Image used to texture the Mesh when drawing. May be nil if no Image is being used with the Mesh.

## See Also

- Mesh
- Mesh:setImage

##

Category:

- Functions