# mcp.model.SelectWindowArgs.direction

- **Module:** mcp.model.SelectWindowArgs
- **Package:** tmux-mcp
- **Language:** Rust
- **Kind:** attribute
- **Source:** https://github.com/libtmux/libtmux-rs/blob/f0e37052c232636b61d095817046e6bfc8f2ca40/crates/tmux-mcp/src/model.rs#L176
- **Page:** https://libtmux.org/en/rs/latest/mcp/reference/mcp-model-selectwindowargs-direction/

Move relative to that window instead of selecting it.

`next` and `previous` step through the session in index order, and
`last` returns to the previously active window. Omit to select the
named window itself.
