robot_2Generated
code_blocksInput

Description

The Editor.CursorShape.IBeam field represents a cursor shape that resembles a vertical bar, commonly used to indicate a text input area where the user can type. This cursor shape is typically used in text editing applications to show where the text cursor is located within a text field or document.

Usage

To use the IBeam cursor shape in your application, you can set the cursor shape to Editor.CursorShape.IBeam when the mouse is over a text input area. This provides a visual cue to the user that they can click to start typing or editing text.

Example

// Example of setting the cursor shape to IBeam when hovering over a text input area
void OnMouseHoverTextInput()
{
    // Set the cursor shape to IBeam
    Cursor.Current = Editor.CursorShape.IBeam;
}