<!--
{
  "availability" : [
    "macCatalyst: -",
    "macOS: 10.0.0 - 10.6.0"
  ],
  "documentType" : "symbol",
  "framework" : "AppKit",
  "identifier" : "/documentation/AppKit/NSWorkspace/slideImage:from:to:",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Method",
  "symbol" : {
    "kind" : "Instance Method",
    "modules" : [
      "AppKit"
    ],
    "preciseIdentifier" : "c:objc(cs)NSWorkspace(im)slideImage:from:to:"
  },
  "title" : "slideImage:from:to:"
}
-->

# slideImage:from:to:

Animates a sliding image from one point to another.

```
- (void) slideImage:(NSImage *) image from:(NSPoint) fromPoint to:(NSPoint) toPoint;
```

## Parameters

`image`

The image to animate.

`fromPoint`

The starting point, in screen coordinates.

`toPoint`

The ending point, in screen coordinates.

## Discussion

Currently unimplemented.

---

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)