# tmuxp.util.get_current_pane

- **Module:** tmuxp.util
- **Package:** tmuxp
- **Language:** Python
- **Kind:** function
- **Source:** https://github.com/tmux-python/tmuxp/blob/153acdf6ff1268b14d3d03ed488f545a7123c8f1/src/tmuxp/util.py#L134
- **Page:** https://libtmux.org/en/py/latest/workspace/reference/tmuxp-util-get_current_pane/

```
tmuxp.util.get_current_pane(server: Server) -> Pane | None
```

Return Pane if one found in env.
