{{newin|[[0.9.0]]|090|type=function}}
Checks if the game window has mouse focus.
== Function ==
=== Synopsis ===
<source lang="lua">
focus = love.window.hasMouseFocus( )
</source>
=== Arguments ===
None.
=== Returns ===
{{param|boolean|focus|True if the window has mouse focus or false if not.}}
== See Also ==
* [[parent::love.window]]
[[Category:Functions]]
{{#set:Description=Checks if the game window has mouse focus.}}
== Other Languages ==
{{i18n|love.window.hasMouseFocus}}