Difference between revisions of "love.mouse.isCursorSupported"

(Created page)
 
m
 
(2 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{newin|[[0.11.0]]|110|type=function|Text=It has been renamed from [[love.mouse.hasCursor]]}}
+
{{newin|[[11.0]]|110|type=function|text=It has been renamed from [[love.mouse.hasCursor]]}}
 
Gets whether cursor functionality is supported.
 
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.
+
If it isn't supported, calling [[love.mouse.newCursor]] and [[love.mouse.getSystemCursor]] will cause an error. Some mobile devices do not support cursors.
  
 
== Function ==
 
== Function ==

Latest revision as of 12:30, 19 October 2022

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. Some 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

Other Languages