# love.graphics.getColorMask

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

Gets the active color components used when drawing. Normally all 4 components are active unless love.graphics.setColorMask has been used.

The color mask determines whether individual components of the colors of drawn objects will affect the color of the screen. They affect love.graphics.clear and Canvas:clear as well.

## Function

### Synopsis

    r, g, b, a = love.graphics.getColorMask( )

### Arguments

None.

### Returns

`boolean r`
  Whether the red color component is active when rendering.
`boolean g`
  Whether the green color component is active when rendering.
`boolean b`
  Whether the blue color component is active when rendering.
`boolean a`
  Whether the alpha color component is active when rendering.

## See Also

- love.graphics
- love.graphics.setColorMask

##

Category:

- Functions