> For the complete documentation index, see [llms.txt](https://edseries-plugins.gitbook.io/p/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://edseries-plugins.gitbook.io/p/features/enchantments/custom-enchantments/actions/fill.md).

# Fill

## Tags

### `variable` -> The variable of the action to get custom placeholders:

**%\<variable>.blocks%** -> Will get how many blocks did worldedit filled.

### `pattern` -> The worldedit pattern like 50%STONE,50%COBBLESTONE.

### `from` -> From what position will it be filled.

### `to` -> To what position will it be filled.

### `world` -> The world where the worldedit action will take place.

## Examples

{% code overflow="wrap" fullWidth="false" %}

```yaml
fill <variable>selection</variable> <pattern>100%AIR</pattern> <world>%global.blockworld%</world> <from>%worldguard.region-minx%, %global.blocky%, %worldguard.region-minz%</from> <to>%worldguard.region-maxx%, %global.blocky%, %worldguard.region-maxz%</to>
```

{% endcode %}
