<!--
{
  "availability" : [
    "iOS: -",
    "iPadOS: -",
    "macCatalyst: -",
    "macOS: -",
    "tvOS: -",
    "visionOS: -"
  ],
  "documentType" : "symbol",
  "framework" : "AudioToolbox",
  "identifier" : "/documentation/AudioToolbox/AUPreset/presetNumber",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Property",
  "symbol" : {
    "kind" : "Instance Property",
    "modules" : [
      "Audio Toolbox"
    ],
    "preciseIdentifier" : "c:@S@AUPreset@FI@presetNumber"
  },
  "title" : "presetNumber"
}
-->

# presetNumber

If less than `0`, then the preset is a user preset. If greater than or equal to `0`, then this field is used to select a factory preset.

```
var presetNumber: Int32
```

---

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)