# LibTmux::Model::Pane.active

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

```
method active(--> Bool:D)
```

Captured [`pane_active`](/en/tmux/latest/catalog/formats/pane_active/); local bool access.

Captured [`pane_active`](/en/tmux/latest/catalog/formats/pane_active/); local bool access.

## In other ports

Whether this was the active pane when captured

| Language | Equivalent |
| --- | --- |
| Python | [`libtmux.Pane.pane_active`](/en/py/latest/reference/libtmux-pane-pane_active/) (attribute) |
| Ruby | [`LibTmux::PaneSnapshot#active?`](/en/ruby/latest/reference/libtmux-panesnapshot-active-io1n/) (method) |
| Lua | [`libtmux.SnapshotPane.active`](/en/lua/latest/reference/libtmux-snapshotpane-active/) (attribute) |
| Elixir | [`LibTmux.Pane.active`](/en/elixir/latest/reference/libtmux-pane-active/) (property) |
| Haskell | No public Haskell equivalent is implemented; the current modules expose scalar values and version parsing. |
| TypeScript | no accessor; the field is read from `Pane.format`, tmux's own row |
| Rust | [`pane.Pane.is_active`](/en/rs/latest/reference/pane-pane-is_active/) (method) |
| Go | [`tmux.Pane.Active`](/en/go/latest/reference/tmux-pane-active/) (method) |
| Java | [`io.github.libtmux.Pane.active`](/en/java/latest/reference/io-github-libtmux-pane-pane-active/) (method) |
| C# | no equivalent on `Pane` |
| C++ | [`libtmux::Pane::active`](/en/cxx/latest/reference/libtmux-pane-active-12uw/) (method) |
| Swift | [`Pane.isActive`](/en/swift/latest/reference/pane-isactive/) (property) |
| OCaml | [`Libtmux.Pane.active`](/en/ocaml/latest/reference/libtmux-pane-active/) (function) |
| Perl | [`LibTmux::Pane::active`](/en/perl/latest/reference/libtmux-pane-active/) (method). Schema-validated captured data; reading performs no tmux I/O. |

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