> For the complete documentation index, see [llms.txt](https://docs.easy.gg/scripting/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.easy.gg/scripting/worldedit-commands.md).

# WorldEdit Commands

Use `/i world_edit_wand` or `//wand`  to obtain a World Edit Wand, or enter creative mode with `/gm 1` to automatically receive one.

Sets position 1 and position 2 of the region to edit, creating a selected region between the two points.

```
//pos1
//pos2
```

Sets the selected region to the specified [block type](/scripting/bedwars-scripting/types/itemtype.md).

```
//set <blockType>
```

Replaces all blocks of the first block type contained in the selected region with the second block type.

```
//replace <blockType1> <blockType2>
```

Copies all the blocks in the selected region, from the current position of your character.

```
//copy
```

Pastes all the blocks in the selected region, based on the position of your character.

```
//paste
```

Replaces all the blocks in the selected region with "air".

```
//delete
```

Copies all of the blocks in the selected region, then replaces them with "air".

```
//cut
```

Rotates the selected region around each axis by the specified number of degrees.

```
//rotate <rotationX> <rotationY> <rotationZ>
```

Undos the last WorldEdit action.

```
//undo
```

Redos the last undone WorldEdit action.

```
//redo
```
