Difference between revisions of "love.mouse.hasCursor"

(Created page)
 
(Fix return value accidentally placed as argument)
Line 10: Line 10:
 
</source>
 
</source>
 
=== Arguments ===
 
=== Arguments ===
 +
None.
 +
=== Returns ===
 
{{param|boolean|hascursor|Whether the system has cursor functionality.}}
 
{{param|boolean|hascursor|Whether the system has cursor functionality.}}
=== Returns ===
 
Nothing.
 
  
 
== See Also ==
 
== See Also ==

Revision as of 13:34, 28 July 2015

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

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

hascursor = love.mouse.hasCursor( )

Arguments

None.

Returns

boolean hascursor
Whether the system has cursor functionality.

See Also

Other Languages