# LibTmux::Model::PaneRef.toggle-mark

- **Module:** LibTmux::Model
- **Package:** LibTmux
- **Language:** Raku
- **Kind:** method
- **Source:** https://github.com/libtmux/libtmux-raku/blob/e76160bcce6e03976d49424da15b7c31afb2c68e/lib/LibTmux/Model.rakumod#L335
- **Page:** https://libtmux.org/en/raku/latest/reference/libtmux-model-paneref-toggle-mark/

```
method toggle-mark(--> Result:D)
```

Toggle the global marked-pane target using this pane.

Toggle the global marked-pane target using this pane.

## tmux command

The tmux commands behind `toggle-mark`.

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

## tmux C API

The C declarations in tmux that implement these commands.

- [`cmd_select_pane_entry`](/en/tmux/latest/reference/c-variable-cmd_select_pane_entry/) (attribute)
- [`cmd_select_pane_exec`](/en/tmux/latest/reference/c-function-cmd-select-pane-c-cmd_select_pane_exec/) (function)
