Difference between revisions of "love.mouse.hasCursor"

m (0.11.0 -> 11.0)
m
 
(One intermediate revision by the same user not shown)
Line 19: Line 19:
 
[[Category:Functions]]
 
[[Category:Functions]]
 
{{#set:Description=Gets whether cursor functionality is supported.}}
 
{{#set:Description=Gets whether cursor functionality is supported.}}
 +
{{#set:Removed=110}}
 +
{{#set:PrettyRemoved=0.11.0}}
 
== Other Languages ==
 
== Other Languages ==
 
{{i18n|love.mouse.hasCursor}}
 
{{i18n|love.mouse.hasCursor}}

Latest revision as of 03:52, 6 June 2019

Available since LÖVE 0.10.0
This function is not supported in earlier versions.
Deprecated in LÖVE 11.0
This function has been renamed to love.mouse.isCursorSupported.

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