# Server.move(_:to:at:)

- **Module:** Server
- **Package:** libtmux-swift
- **Language:** Swift
- **Kind:** method
- **Source:** https://github.com/libtmux/libtmux-swift/blob/254f8b2be7eb60cacc3ffcb3ea8e456784f582df/Sources/LibTmux/WindowTransfers.swift#L5
- **Page:** https://libtmux.org/en/swift/latest/reference/server-move(_-to-at-)/

```
Server.move(_:to:at:)(link: WindowLink, to: Session, at: Int?) -> WindowLink
```

Moves one window appearance into another session.

## Raises

- `TmuxError`
