# types.JoinOptions.direction

- **Module:** types
- **Package:** libtmux
- **Language:** TypeScript
- **Kind:** property
- **Source:** https://github.com/libtmux/libtmux-ts/blob/073b9d7dedad900bff6f5ec0ea47794e40225870/packages/libtmux/src/types.ts#L355
- **Page:** https://libtmux.org/en/ts/latest/reference/types-joinoptions-direction/

Which side of the target the joined pane takes.

The same four choices [`SplitOptions.direction`](/en/ts/latest/reference/types-splitoptions-direction/) gives, for the same
reason: tmux reaches "above" and "left" only by pairing the axis with
`-b`, so a boolean names half of them. Combining this with [`vertical`](/en/ts/latest/reference/types-joinoptions-vertical/)
throws [`TypeError`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/TypeError).
