---
title: clear()
framework: usdkit
role: symbol
role_heading: Instance Method
path: usdkit/usdlayer/listoperation/clear()
---

# clear()

Removes all authored slots, leaving an empty operation.

## Declaration

```swift
mutating func clear()
```
