{{newin (日本語)|[[0.9.0 (日本語)|0.9.0]]|090|type=関数}}
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.
== 関数 ==
=== 概要 ===
<source lang="lua">
r, g, b, a = love.graphics.getColorMask( )
</source>
=== 引数 ===
なし。
=== 返値 ===
{{param (日本語)|boolean|r|Whether the red color component is active when rendering.}}
{{param (日本語)|boolean|g|Whether the green color component is active when rendering.}}
{{param (日本語)|boolean|b|Whether the blue color component is active when rendering.}}
{{param (日本語)|boolean|a|Whether the alpha color component is active when rendering.}}
== 関連 ==
* [[parent::love.graphics (日本語)]]
* [[love.graphics.setColorMask (日本語)]]
[[Category:Functions (日本語)]]
{{#set:Description=Gets the active color components used when drawing.}}
{{#set:Sub-Category=State (日本語)}}
== そのほかの言語 ==
{{i18n (日本語)|love.graphics.getColorMask}}