{{newin|[[11.3]]|113|type=function}}
Gets area inside the window which is known to be unobstructed by a system title bar, the iPhone X notch, etc. Useful for making sure UI elements can be seen by the user.

== Function ==
=== Synopsis ===
<source lang="lua">
x, y, w, h = love.window.getSafeArea( )
</source>
=== Arguments ===
None.
=== Returns ===
{{param|number|x|Starting position of safe area (x-axis).}}
{{param|number|y|Starting position of safe area (y-axis).}}
{{param|number|w|Width of safe area.}}
{{param|number|h|Height of safe area.}}

== Notes ==
Values returned are in DPI-scaled units (the same coordinate system as most other window-related APIs), not in pixels.

== See Also ==
* [[parent::love.window]]
[[Category:Functions]]
{{#set:Description=Gets unobstructed area inside the window.}}

== Other Languages ==
{{i18n|love.window.getSafeArea}}