---
title: image
framework: appkit
role: symbol
role_heading: Instance Property
path: appkit/nscursor/image
---

# image

The cursor’s image.

## Declaration

```swift
var image: UIImage { get }
```

```swift
var image: NSImage { get }
```

## Discussion

Discussion The cursor image or nil if none exists. Note that an NSCursor object is immutable: you cannot change its image after it’s created. Instead, use init(image:hotSpot:) to create a new cursor with the new settings.

## See Also

### Related Documentation

- [init(image:hotSpot:)](appkit/nscursor/init(image:hotspot:).md)

### Setting cursor attributes

- [hotSpot](appkit/nscursor/hotspot.md)
- [hide()](appkit/nscursor/hide().md)
- [unhide()](appkit/nscursor/unhide().md)
- [setHiddenUntilMouseMoves(_:)](appkit/nscursor/sethiddenuntilmousemoves(_:).md)
