# Transforms

This page is currently being revised.

## Introduction

A transformation can be applied to a brush or globally to modify where and how blocks are changed.

## Syntax

### Multiple transforms

Use a comma (`,`) to randomly use a transform from a list e.g. `#offset[0][1][0],#pattern[stone]` (offset the block one up, OR change it to stone)

Use an ampersand (`&`) to use multiple transforms for each block e.g. `#offset[0][1][0]&#pattern[stone]` (offset the block one up AND change it to stone)

### Arguments

Transform arguments should be inside square brackets e.g. `#offset[0][1][0]`

### Setting a transform

####

Perm: `worldedit.global-transform`\
Desc: Set the global mask

####

Perm: `worldedit.brush.options.transform`\
Desc: Set the brush mask (separate multiple masks by spaces \` \` or colons `:`)

## Transform List

### #offset \<dx> \<dy> \<dz> \[transform]

**Desc**: Offset transform

### #rotate \<rotateX> \<rotateY> \<rotateZ> \[transform]

**Desc**: All changes will be rotated around the initial position

### #scale \<dx> \<dy> \<dz> \[transform]

**Desc**: All changes will be scaled

### #pattern \<pattern> \[transform]

**Desc**: Always use a specific pattern

### #linear3d \<transform>

**Desc**: Use the x,y,z coordinate to pick a transform from the list

### #linear \<transform>

**Desc**: Sequentially pick from a list of transform

### #spread \<dx> \<dy> \<dz> \[transform]

**Desc**: Random offset transform


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://intellectualsites.gitbook.io/fastasyncworldedit/command-utilities/transforms.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
