{{newinoldin|[[0.8.0]]|080|[[0.9.0]]|090|type=function|text=Moved to the [[love.window]] module as [[love.window.hasFocus]]}}
Checks if the game window has keyboard focus.
== 関数 ==
=== 概要 ===
<source lang="lua">
focus = love.graphics.hasFocus( )
</source>
=== 引数 ===
なし。
=== 返値 ===
{{param (日本語)|boolean|focus|True if the window has the focus or false if not.}}
== 関連 ==
* [[parent::love.graphics (日本語)]]
[[Category:Functions (日本語)]]
{{#set:Description=Checks if the game window has keyboard focus.}}
{{#set:Since=080}}
{{#set:Sub-Category=Window (日本語)}}
== そのほかの言語 ==
{{i18n (日本語)|love.graphics.hasFocus}}