> For the complete documentation index, see [llms.txt](https://ezedits.gitbook.io/ezedits/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://ezedits.gitbook.io/ezedits/masks-and-patterns/patterns.md).

# Patterns

### `#aim`

<details>

<summary>#aim Pattern</summary>

**`#aim` or `#aim[True|False]`**

Takes the block the player is aiming at as the Pattern.

Optionally takes a True/False setting to make your aim sensitive to hitboxes.

* False will treat all blocks as full blocks. E.g. you cannot `#aim` at the block behind a button.
* True will respect the hitboxes of blocks you are looking at. E.g. you can `#aim` at the block behind a slab.

<img src="/files/uNiJadPCKg4Vm2A9nrAC" alt="" data-size="original">

</details>

### `#eznoisepattern`

<details>

<summary>#eznoisepattern Pattern</summary>

**`#eznoisepattern[palette][noisePreset][<scale>][<seed>]`**\
**Alias: `#eznp`**

Uses a noise preset values to return palette blocks.\
**Which also has the following in-built presets:**

* **`#ridged[palette][<scale>][<seed>]`**
* **`#smoothcells[palette][<scale>][<seed>]`**
* **`#voronoiedge[palette][<scale>][<seed>]`**

</details>

### `#palette`

<details>

<summary>#palette Pattern</summary>

**`#palette[palette]`**

Takes the given palette and returns a list of palette blocks. Can be used as a random block pattern.

e.g. `//set #palette[##ice]` is the same as `//set [blue_ice,packed_ice,ice]`

</details>

### `#vectorgradient`

<details>

<summary>#radialgradient Pattern</summary>

**`#radialgradientpattern[palette][distance][<distanceMode>][<offset>][<noisePreset>][<noiseScale>][<noiseSeed>]`**\
**Alias: `#rgradientp`**

Sets palette blocks based on distance from the player. With the block chosen based on distance plus a blending factor.\
Compatible with noise presets.

</details>

### `#selection`

<details>

<summary>#selection Pattern</summary>

**`#selection[selection][<offset>]`**

Shorthand: **`#sel[selection][<offset>]`**

Sets blocks using the blocks currently in world at the location of the saved selection.\
Acts as if the selection were tiled/stacked.

Optional `<offset>` variable to offset the pattern by a given vector.

</details>

### `#vectorgradientpattern`

<details>

<summary>#vectorgradientpattern Pattern</summary>

**`#vectorgradientpattern[palette][vector][distance][<noisePreset>][<noiseScale>][<noiseSeed>]`**\
**Alias: `#vgradientp`**

Sets palette blocks along a vector with a given distance length with the block chosen based on distance plus a blending factor. Can also use noise presets.

</details>
