# libtmux.Pane.pane_active

- **Module:** libtmux
- **Package:** libtmux
- **Language:** Python
- **Kind:** attribute
- **Source:** https://github.com/tmux-python/libtmux/blob/38e368c11117fb4aeb2f082d552cd4f210eae06a/src/libtmux/neo.py#L371
- **Inherited from:** libtmux.neo.Obj
- **Page:** https://libtmux.org/en/py/stable/reference/libtmux-pane-pane_active/

```py
libtmux.Pane.pane_active: str | None = None
```

## In other ports

### Whether this was the active pane when captured

- 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)
- 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.Pane.active`](/en/java/latest/reference/io-github-libtmux-pane-pane-active/) (method)
- C++: [`libtmux::Pane::active`](/en/cxx/latest/reference/libtmux-pane-active-12uw/) (method)
- Swift: [`Pane.isActive`](/en/swift/latest/reference/pane-isactive/) (property)
