# mcp.model.SelectPaneArgs.direction

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

Move relative to that pane instead of selecting it.

`up`, `down`, `left`, and `right` follow the layout, so `up` selects
whatever pane is drawn above. `last` returns to the previously active
pane, and `next` and `previous` step through the window's panes in
order. Omit to select the named pane itself.
