# types.ResizeOptions.direction

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

Adjust by [`amount`](/en/ts/latest/reference/types-resizeoptions-amount/) cells in this direction instead of setting a size.

The relative form tmux offers as `-U`, `-D`, `-L`, and `-R`. Give it with
[`amount`](/en/ts/latest/reference/types-resizeoptions-amount/); [`width`](/en/ts/latest/reference/types-resizeoptions-width/) and [`height`](/en/ts/latest/reference/types-resizeoptions-height/) set an absolute size and are separate.
