### Overview & Description

This function will iterate over a set of objects and rotate them such that the last object in the selection (in terms of layer order) will have be rotated by the target value.

### Example Settings & Result

Let’s say you have a series of 6 squares next to each other. The top-most square in the layer stack is on the left and the bottom-most square is on the right. If you select all these squares and set the target rotation to be 360° here is what the result would be:

**Square 1:** Unchanged.

**Square 2:** Rotated 72°.

**Square 3:** Rotated 144°.

**Square 4:** Rotated 216°.

**Square 5:** Rotated 288°.

**Square 6:** Rotated 360°.

You can see that as Randomill iterated through the squares, it rotated each square in equal increments until the last square was rotated by the target value.

## Related Functions

### Rotation – Oscillate

Rotate all selected objects by a value that oscillates between two specified numbers over N steps.

### Rotation – Shift

Shift and adjust angles of rotation by iterating over selected objects and changing their rotation angle by a gradually increasing or decreasing value.

### Rotation – Randomize

Randomize rotation for all selected objects. Optionally specify a step size for more control.

### Duplication – In-Place

Duplicate multiple objects a specified number of times while retaining the original layer order of the resulting duplicates.