# plan.Op.focused_pane

- **Module:** plan.Op
- **Package:** libtmux
- **Language:** Rust
- **Kind:** method
- **Source:** https://github.com/libtmux/libtmux-rs/blob/8a648c0894dfffc9303583f753b6c8ae01f2fe76/crates/libtmux/src/plan.rs#L749
- **Page:** https://libtmux.org/reference/rs/plan-op-focused_pane/

```
plan.Op.focused_pane(self) -> Option<Part>
```

Which of this operation's created objects is the pane it left active.

`None` when it creates nothing, or creates without taking focus. The
`{marked}` fold marks the *active* pane, so an operation that does not
leave its own pane active cannot be folded with what decorates it: the
mark would land on whichever pane was already there.
