love.window.getDisplayOrientation

Available since LÖVE 11.3
This function is not supported in earlier versions.

Gets current device display orientation.

Function

Synopsis

orientation = love.window.getDisplayOrientation( )

Arguments

None.

Returns

DisplayOrientation orientation
Current device display orientation.

See Also


Other Languages