Legacy Documentation: Version 5.2
LanguageEnglish
  • C#
  • JS

Script language

Select your preferred scripting language. All code snippets will be displayed in this language.

MouseCursor

enumeration

Suggest a change

Success!

Thank you for helping us improve the quality of Unity Documentation. Although we cannot accept all submissions, we do read each suggested change from our users and will make updates where applicable.

Close

Sumbission failed

For some reason your suggested change could not be submitted. Please try again in a few minutes. And thank you for taking the time to help us improve the quality of Unity Documentation.

Close

Cancel

Switch to Manual

Description

Custom mouse cursor shapes used with EditorGUIUtility.AddCursorRect.

Variables

ArrowNormal pointer arrow.
TextText cursor.
ResizeVerticalVertical resize arrows.
ResizeHorizontalHorizontal resize arrows.
LinkArrow with a Link badge (for assigning pointers).
SlideArrowArrow with small arrows for indicating sliding at number fields.
ResizeUpRightResize up-right for window edges.
ResizeUpLeftResize up-Left for window edges.
MoveArrowArrow with the move symbol next to it for the sceneview.
RotateArrowArrow with the rotate symbol next to it for the sceneview.
ScaleArrowArrow with the scale symbol next to it for the sceneview.
ArrowPlusArrow with the plus symbol next to it.
ArrowMinusArrow with the minus symbol next to it.
PanCursor with a dragging hand for pan.
OrbitCursor with an eye for orbit.
ZoomCursor with a magnifying glass for zoom.
FPSCursor with an eye and stylized arrow keys for FPS navigation.
CustomCursorThe current user defined cursor.
SplitResizeUpDownUp-Down resize arrows for window splitters.
SplitResizeLeftRightLeft-Right resize arrows for window splitters.