<!--
{
  "availability" : [
    "iOS: 27.0.0 -",
    "iPadOS: 27.0.0 -",
    "macCatalyst: 27.0.0 -",
    "macOS: 27.0.0 -",
    "tvOS: 27.0.0 -",
    "visionOS: 27.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "USDKit",
  "identifier" : "/documentation/USDKit/USDLayer/eraseTimeSample(at:time:)",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Method",
  "symbol" : {
    "kind" : "Instance Method",
    "modules" : [
      "USDKit"
    ],
    "preciseIdentifier" : "s:6USDKit8USDLayerV15eraseTimeSample2at4timeyAC4PathV_AC0D4CodeVtF"
  },
  "title" : "eraseTimeSample(at:time:)"
}
-->

# eraseTimeSample(at:time:)

Erases the authored time sample at the given path and time.

```
func eraseTimeSample(at path: USDLayer.Path, time: USDLayer.TimeCode)
```

## Parameters

`path`

The attribute path.

`time`

The time of the sample to erase.

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)