# LibTmux::Model::PaneRef.move

- **Module:** LibTmux::Model
- **Package:** LibTmux
- **Language:** Raku
- **Kind:** method
- **Source:** https://github.com/libtmux/libtmux-raku/blob/0b5dd3d32e20f83a0069874e33eab0eb48f55962/lib/LibTmux/Model.rakumod#L360
- **Page:** https://libtmux.org/en/raku/latest/reference/libtmux-model-paneref-move/

```
method move(PaneRef:D $target, Bool :$horizontal = False, Bool :$before = False,
                Bool :$full = False, Bool :$select = False,
                :$size = Positive, :$percent = Positive --> Result:D)
```

Move this pane beside an explicit pane target without changing its ID.

Move this pane beside an explicit pane target without changing its ID.

## Parameters

- `$target` (`PaneRef:D`)
- `$horizontal?` (`Bool`)
- `$before?` (`Bool`)
- `$full?` (`Bool`)
- `$select?` (`Bool`)
- `$size?`
- `$percent?`

## tmux command

The tmux commands behind `move`.

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

## tmux C API

The C declarations in tmux that implement these commands.

- [`cmd_move_pane_entry`](/en/tmux/latest/reference/c-variable-cmd_move_pane_entry/) (attribute)
- [`cmd_join_pane_exec`](/en/tmux/latest/reference/c-function-cmd-join-pane-c-cmd_join_pane_exec/) (function)

## In other ports

Move a pane to another position

| Language | Equivalent |
| --- | --- |
| Python | [`libtmux.Pane.move`](/en/py/latest/reference/libtmux-pane-move/) (method) |
| Ruby | [`LibTmux::Pane#move`](/en/ruby/latest/reference/libtmux-pane-move/) (method) |
| Lua | [`libtmux.Pane:move_to`](/en/lua/latest/reference/libtmux-pane-move_to/) (method) |
| Erlang | [`tmux_pane:move/3`](/en/erlang/latest/reference/tmux_pane-move-3/) (function) |
| Haskell | No public Haskell equivalent is implemented; the current modules expose scalar values and version parsing. |
| TypeScript | no equivalent on `Pane` |
| Rust | no equivalent on `Pane` |
| Go | [`tmux.Pane.Move`](/en/go/latest/reference/tmux-pane-move/) (method) |
| Java | no equivalent on `Pane` |
| C# | [`LibTmux.Pane.MoveAsync`](/en/csharp/latest/reference/libtmux-pane-moveasync/) (method) |
| C++ | no equivalent on `Pane` |
| Swift | `Server.move(_:to:at:)` moves a window, not a pane |
| OCaml | [`Libtmux_unix.Client.move_pane`](/en/ocaml/latest/reference/libtmux_unix-client-move_pane/) (function) |
| Perl | No dedicated equivalent in the selected Perl surface. Explicit Server::cmd remains available for native tmux commands. |

No equivalent is recorded in PowerShell, Julia, Elixir, Common Lisp, Clojure, Kotlin, Scala or F#.
