# types.SplitOptions.direction

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

Which side of this pane the new one takes.

tmux splits below by default and offers no other way to say "above" or
"left" than pairing the axis with `-b`, so a boolean cannot express half
of the choices. Combining this with [`vertical`](/en/ts/latest/reference/types-splitoptions-vertical/) throws [`TypeError`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/TypeError).
