delete

Removes the selected text, or the selected section of an image, or an object.

# Metadata

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

# Syntax

delete [object]

# Params

- object : Any available object. If no object is specified, the delete command removes whatever is currently selected.

# Examples

delete

delete this card

delete button 1

# Description

Use the delete command to remove objects or text from the stack.

If no object is specified, the delete command is equivalent to pressing the Delete key. It removes the selection.

Use the delete command to remove a control, card, or group permanently. To remove an object and place it on the clipboard for pasting elsewhere, use the cut command instead. To temporarily hide a control, use the hide command instead.

>*Important:* You cannot delete the object whose script > holds a currently execute handler.

# Tags

ui,

# See