# LibTmux::Pane#move

- **Module:** LibTmux
- **Package:** libtmux
- **Language:** Ruby
- **Kind:** method
- **Source:** https://github.com/libtmux/libtmux-ruby/blob/dcc9f8b5a6970144a9e7d80cd5f381d8f6198372/gems/libtmux/lib/libtmux/operations.rb#L344
- **Page:** https://libtmux.org/en/ruby/v0.1.0.alpha.2/reference/libtmux-pane-move/

tmux command: [`move-pane`](/en/tmux/latest/manual/move-pane/)

```
def move: (
  ::LibTmux::EntityRef,
  direction: :horizontal | :vertical,
  ?before: bool,
  ?timeout: ::Numeric,
  ?cancel: untyped
) -> ::LibTmux::CommandResult
```

Behavior: Entity mutation.

Behavior contract: Entity mutation.

## In other ports

### Move a pane to another position

- Python: [`libtmux.Pane.move`](/en/py/latest/reference/libtmux-pane-move/) (method)
- Lua: [`libtmux.Pane:move_to`](/en/lua/latest/reference/libtmux-pane-move_to/) (method)
- Go: [`tmux.Pane.Move`](/en/go/latest/reference/tmux-pane-move/) (method)
- C#: [`LibTmux.Pane.MoveAsync`](/en/csharp/latest/reference/libtmux-pane-moveasync/) (method)
