# LibTmux::Model::Window.active-pane

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

```
method active-pane(--> Pane:D)
```

The physical window's observed active pane.

The physical window's observed active pane.

## In other ports

The window's active pane

| Language | Equivalent |
| --- | --- |
| Python | [`libtmux.Window.active_pane`](/en/py/latest/reference/libtmux-window-active_pane/) (property) |
| Haskell | No public Haskell equivalent is implemented; the current modules expose scalar values and version parsing. |
| TypeScript | [`window.Window.activePane`](/en/ts/latest/reference/window-window-activepane/) (method) |
| Rust | [`window.Window.active_pane`](/en/rs/latest/reference/window-window-active_pane/) (method) |
| Go | [`tmux.Window.ActivePane`](/en/go/latest/reference/tmux-window-activepane/) (method) |
| Java | [`io.github.libtmux.Window.activePane`](/en/java/latest/reference/io-github-libtmux-window-window-activepane/) (method) |
| C# | [`LibTmux.Window.ActivePane`](/en/csharp/latest/reference/libtmux-window-activepane/) (property) |
| C++ | [`libtmux::Window::active_pane`](/en/cxx/latest/reference/libtmux-window-active_pane/) (method) |
| Swift | no accessor; `Pane.isActive` is a flag on the pane, so the active one is found by filtering a listing |
| OCaml | No direct public OCaml equivalent is recorded for this operation. |
| Perl | [`LibTmux::Window::active_pane`](/en/perl/latest/reference/libtmux-window-active_pane/) (method). Local captured relation. Unknown membership cannot prove that no pane is active. |

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