Enum DisplayServer.CursorShape
- Namespace
- Godot
- Assembly
- GodotSharp.dll
public enum DisplayServer.CursorShape : long
Fields
Arrow = 0
Arrow cursor shape. This is the default when not pointing anything that overrides the mouse cursor, such as a LineEdit or TextEdit.
Bdiagsize = 11
Secondary diagonal resize cursor (top-right/bottom-left). Intended to be displayed when the hovered Control can be resized on both axes at once using the mouse.
Busy = 5
Wait cursor. On most cursor themes, this replaces the arrow with a spinning icon. Intended to be used for blocking operations (when the user can't do anything else at the moment). See also Wait.
CanDrop = 7
"Can drop" cursor. This is displayed during drag-and-drop operations if hovering over a Control that can accept the drag-and-drop event. On most cursor themes, this displays a dragging hand with an arrow symbol besides it. See also Drag.
Cross = 3
Crosshair cursor. This is intended to be displayed when the user needs precise aim over an element, such as a rectangle selection tool or a color picker.
Drag = 6
Dragging hand cursor. This is displayed during drag-and-drop operations. See also CanDrop.
Fdiagsize = 12
Main diagonal resize cursor (top-left/bottom-right). Intended to be displayed when the hovered Control can be resized on both axes at once using the mouse.
Forbidden = 8
Forbidden cursor. This is displayed during drag-and-drop operations if the hovered Control can't accept the drag-and-drop event.
Help = 16
Help cursor. On most cursor themes, this displays a question mark icon instead of the mouse cursor. Intended to be used when the user has requested help on the next element that will be clicked.
Hsize = 10
Horizontal resize cursor. Intended to be displayed when the hovered Control can be horizontally resized using the mouse. See also Hsplit.
Hsplit = 15
Horizontal split cursor. This is displayed when hovering a Control with splits that can be horizontally resized using the mouse, such as HSplitContainer. On some cursor themes, this cursor may have the same appearance as Hsize.
Ibeam = 1
I-beam cursor shape. This is used by default when hovering a control that accepts text input, such as LineEdit or TextEdit.
Max = 17
Represents the size of the DisplayServer.CursorShape enum.
Move = 13
Move cursor. Intended to be displayed when the hovered Control can be moved using the mouse.
PointingHand = 2
Pointing hand cursor shape. This is used by default when hovering a LinkButton or a URL tag in a RichTextLabel.
Vsize = 9
Vertical resize cursor. Intended to be displayed when the hovered Control can be vertically resized using the mouse. See also Vsplit.
Vsplit = 14
Vertical split cursor. This is displayed when hovering a Control with splits that can be vertically resized using the mouse, such as VSplitContainer. On some cursor themes, this cursor may have the same appearance as Vsize.
Wait = 4
Wait cursor. On most cursor themes, this displays a spinning icon besides the arrow. Intended to be used for non-blocking operations (when the user can do something else at the moment). See also Busy.