<!--
{
  "availability" : [
    "iOS: -",
    "iPadOS: -",
    "macCatalyst: -",
    "macOS: -",
    "tvOS: -",
    "visionOS: -",
    "watchOS: -"
  ],
  "documentType" : "symbol",
  "framework" : "AVFoundation",
  "identifier" : "/documentation/AVFoundation/AVPlayerItem/step(byCount:)",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Method",
  "symbol" : {
    "kind" : "Instance Method",
    "modules" : [
      "AVFoundation"
    ],
    "preciseIdentifier" : "c:objc(cs)AVPlayerItem(im)stepByCount:"
  },
  "title" : "step(byCount:)"
}
-->

# step(byCount:)

Moves the player item’s current time forward or backward by a specified number of steps.

```
nonisolated func step(byCount stepCount: Int)
```

## Parameters

`stepCount`

The number of steps by which to move.

    A positive number steps forward, a negative number steps backward.

## Discussion

The size of each step depends on the receiver’s enabled `AVPlayerItemTrack` objects (see [`tracks`](/documentation/AVFoundation/AVPlayerItem/tracks)).

---

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)