# 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 %}
