deleteVideoclip

Sent to a videoclip just before it is removed from the stack.

# Metadata

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

# Syntax

deleteVideoclip

# Description

Handle the deleteVideoclip message if you want to perform cleanup before a videoclip is removed from the stack.

The actual deletion is not triggered by the deleteVideoclip message, so trap the message and not allowing it to pass does not prevent the videoclip from being removed.

However, the undo command will restore a videoclip after it is deleted by the user.

# Tags

# See

- **command:** delete - **object:** videoclip, stack - **glossary:** trap, button, message, command - **control structure:** pass