{{newin|[[0.10.0]]|100|type=function}}
Gets whether the graphics module is able to be used. If it is not active, [[love.graphics]] function and method calls will not work correctly and may cause the program to crash.

The graphics module is ''inactive'' if a window is not open, or if the app is in the background on iOS. Typically the app's execution will be automatically paused by the system, in the latter case.
== Function ==
=== Synopsis ===
<source lang="lua">
active = love.graphics.isActive( )
</source>
=== Arguments ===
None.
=== Returns ===
{{param|boolean|active|Whether the graphics module is active and able to be used.}}
== See Also ==
* [[parent::love.graphics]]
* [[love.window.close]]
* [[love.window.setMode]]
[[Category:Functions]]
{{#set:Description=Gets whether the graphics module is able to be used.}}
{{#set:Sub-Category=State}}
== Other Languages ==
{{i18n|love.graphics.isActive}}