love.mouse.isCursorSupported

Available since LÖVE 11.0
It has been renamed from love.mouse.hasCursor.

Gets whether cursor functionality is supported.

If it isn't supported, calling love.mouse.newCursor and love.mouse.getSystemCursor will cause an error. Mobile devices do not support cursors.

Function

Synopsis

supported = love.mouse.isCursorSupported( )

Arguments

None.

Returns

boolean supported
Whether the system has cursor functionality.

See Also

© 2006–2020 LÖVE Development Team
Licensed under the GNU Free Documentation License, Version 1.3.
https://love2d.org/wiki/love.mouse.isCursorSupported