# io.github.libtmux.snapshot.PaneState.floating

- **Module:** io.github.libtmux.snapshot
- **Package:** io.github.libtmux:libtmux
- **Language:** Java
- **Kind:** method
- **Source:** https://github.com/libtmux/libtmux-java/blob/c067fced0dfd19bd6dd3d260e9d4c336becdb063/libtmux/src/main/java/io/github/libtmux/snapshot/PaneState.java
- **Page:** https://libtmux.org/en/java/latest/reference/io-github-libtmux-snapshot-panestate-panestate-floating/

```
io.github.libtmux.snapshot.PaneState.floating() -> Optional<Boolean>
```

whether the pane floats, or empty when the running tmux cannot say. Before 3.7 the format expands to nothing at all, and reporting that as {@code false} would be indistinguishable from a tmux that looked and found the pane was not floating.
