# LibTmux::Model::PaneRef.float

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

```
method float(Positive:D :$width!, Positive:D :$height!, Int :$x, Int :$y,
                 Bool :$select = False --> Result:D)
```

Convert this tile into a floating pane with explicit dimensions.

Convert this tile into a floating pane with explicit dimensions.

## Parameters

- `$width` (`Positive:D`)
- `$height` (`Positive:D`)
- `$x?` (`Int`)
- `$y?` (`Int`)
- `$select?` (`Bool`)

## tmux command

The tmux commands behind `float`.

- [`break-pane`](/en/tmux/latest/manual/break-pane/)

## tmux C API

The C declarations in tmux that implement these commands.

- [`cmd_break_pane_entry`](/en/tmux/latest/reference/c-variable-cmd_break_pane_entry/) (attribute)
- [`cmd_break_pane_exec`](/en/tmux/latest/reference/c-function-cmd-break-pane-c-cmd_break_pane_exec/) (function)
