Select
;selThe ;sel command changes the selection mode used by WorldEdit.
A selection is a region of the world defined by one or more points. The active mode determines how WorldEdit interprets those points and what shape the final region will have.
Syntax
;sel <cuboid|extend|sphere|cyl|convex> Available modes:
cuboidextendspherecylconvex
Change selection mode
Use ;sel followed by the mode name:
Change mode
;sel cuboid
;sel extend
;sel sphere
;sel cyl
;sel convex To save a mode as the default for future sessions, use -d:
Default mode
;sel -d cuboid
;sel -d extend
;sel -d sphere
;sel -d cyl
;sel -d convex Mark selection points
You can mark points from your current position:
Current position
;pos1
;pos2 Aliases:
Aliases
;1
;2 You can also mark the block you are looking at:
Targeted block
;hpos1
;hpos2 Absolute coordinates are supported:
Absolute coordinates
;pos1 100 64 100
;pos2 120 80 130 Relative coordinates are also supported:
Relative coordinates
;pos1
;pos2 ~10 ~5 ~10 The meaning of each point depends on the active selection mode.
Clear the current selection
Running ;sel without a mode clears the current points.
Clear selection
;sel
;desel
;deselect Clearing the points does not necessarily change the active selection mode.
cuboid
cuboid is the default selection mode. It creates a rectangular prism from two opposite corners.
Enable cuboid
;sel cuboid Points
- Position 1: first corner.
- Position 2: opposite corner.
- A new
;pos2replaces the previous second position.
Cuboid example
;sel cuboid
;pos1 100 64 100
;pos2 110 70 115 The order of the corners does not matter. WorldEdit calculates the minimum and maximum limits automatically.
extend
extend creates a cuboid that can grow through multiple secondary points.
Enable extend
;sel extend Points
- Position 1 starts a new region.
- Every
;pos2expands the cuboid enough to include the new point. - Repeating
;pos2never reduces the current selection. - Setting a new
;pos1starts the selection again.
Extend example
;sel extend
;pos1 100 64 100
;pos2 110 70 110
;pos2 95 75 120
;pos2 115 60 90 Although it accepts multiple points, the final result is still a cuboid.
sphere
sphere creates a spherical selection.
Enable sphere
;sel sphere Points
- Position 1 defines the center.
- Position 2 defines the radius.
- The radius is calculated from the three-dimensional distance between both points.
- A new
;pos2replaces the previous radius.
Sphere example
;sel sphere
;pos1 100 64 100
;pos2 110 64 100 The example creates a sphere with an approximate radius of 10 blocks.
The mode uses one uniform radius, so it does not create an ellipsoid with independent X, Y and Z radius.
cyl
cyl creates a vertical cylindrical selection aligned with the Y axis.
Enable cylinder
;sel cyl Points
- Position 1 defines the horizontal center and the first height level.
- Position 2 defines or expands the horizontal radius and height.
- Additional
;pos2commands can increase the radius or extend the vertical limits. - The horizontal radius is calculated in the X/Z plane.
Cylinder example
;sel cyl
;pos1 100 64 100
;pos2 108 70 100 In this example:
- Approximate radius:
8 - Height: from
Y=64toY=70, inclusive
The cylinder is vertical and cannot be tilted.
convex
convex creates a convex hull around several selected points.
Enable convex
;sel convex You can imagine the shape as an elastic surface stretched around all marked points.
Points
- Position 1 starts the selection.
- Every
;pos2adds another vertex. - At least four points are needed to form a valid three-dimensional volume.
- The points must not all be aligned or located on the same plane.
- Setting a new
;pos1starts the convex selection again.
Convex example
;sel convex
;pos1 100 64 100
;pos2 110 64 100
;pos2 105 64 110
;pos2 105 74 105 A convex selection does not preserve deep inward curves or concave spaces. Its outer boundary always remains convex.
What happens when changing modes?
- Changing between
cuboidandextendnormally keeps the selection because both use a cuboid region. - Changing to
sphere,cylorconvexclears the current points. - Changing between non-cuboid modes also clears the points.
- Mark the selection points again after changing to a different shape.
Quick comparison
| Mode | Required points | Result | Repeating ;pos2 |
|---|---|---|---|
cuboid | 2 | Rectangular prism | Replaces position 2 |
extend | 2 or more | Expanding rectangular prism | Expands the cuboid |
sphere | 2 | Sphere | Replaces the radius |
cyl | 2 or more | Vertical cylinder | Expands radius or height |
convex | At least 4 | Convex hull | Adds another vertex |
Common errors
Marking position 2 first
For extend, sphere, cyl and convex, define position 1 before adding secondary points.
Correct order
;pos1
;pos2 Expecting extend to create an irregular shape
extend accepts multiple points, but the final region remains a cuboid. Use convex when you need a convex irregular volume.
Not adding enough points in convex
A three-dimensional convex selection needs at least four points that create a real volume.
Expecting an ellipsoid from sphere
sphere uses one radius. It does not support separate radii for each axis.
Expecting a tilted cylinder
cyl is always vertical and aligned with the Y axis.
Quick reference
Selection modes
;sel cuboid
;sel extend
;sel sphere
;sel cyl
;sel convex Point commands
;pos1
;pos2
;hpos1
;hpos2 Clear selection
;sel
;desel
;deselect