defaultCursor

Specifies the default shape of the cursor.

# Metadata

Platforms: desktop, server, mobile OS: mac, windows, linux, ios, android Introduced: 2.0 Security:

# Syntax

set the defaultCursor to imageID

# Examples

set the defaultCursor to arrow

# Description

Use the defaultCursor property to change the cursor used when the Browse tool is being used from a hand to some other cursor shape.

>*Tip:* LiveCode includes several built-in cursors > whose names you can use in place of their image IDs. The built-in > cursors are described in the entry for the cursor > property.

If the lockCursor property is set to false, the cursor changes shape automatically as the mouse moves. (For example, the cursor normally turns into an arrow over a menu, an I-beam over an editable field, and so on.) The defaultCursor is the shape used automatically when the mouse pointer is in a stack window, but not in an editable field.

# Tags

ui,

# See

- **keyword:** default, image, field, menu - **glossary:** property, Browse tool, mouse pointer, cursor - **property:** cursor, lockCursor, behavior, ID