---
title: currentItem
framework: appkit
role: symbol
role_heading: Instance Property
path: appkit/nsaccessibilitycustomrotor/searchparameters/currentitem
---

# currentItem

The current item that determines where the search starts.

## Declaration

```swift
var currentItem: NSAccessibilityCustomRotor.ItemResult? { get set }
```

## Discussion

Discussion If this value is nil, searchDirection determines the current item. A search direction of NSAccessibilityCustomRotor.SearchDirection.next begins the search from the first item, and a search direction of NSAccessibilityCustomRotor.SearchDirection.previous begins the search from the last item.

## See Also

### Managing the Current Item

- [NSAccessibilityCustomRotor.ItemResult](appkit/nsaccessibilitycustomrotor/itemresult.md)
