Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


showCursor

Should the cursor be visible?
Read time 1 minuteLast updated 2 days ago

Definition

  • Type: Property
  • Namespace: UnityEngine
  • Assembly: UnityEngine.CoreModule
Warning
Removed. Property showCursor has been deprecated. Use Cursor.visible instead
Upgrade to Cursor.visible
public static bool showCursor { get; set; }

Remarks

It is entirely possible to implement a custom cursor instead of the system one. To do this you would hide the system one, track mouse position or movement and display your own image in the needed place.