# Set Rectangle Transformation Engine

The `SetRectangle` transformation engine adds rectangles to records. The rectangles are produced by a Lua function that you write. This can be useful in cases where you want to dynamically define a region. For example, you can create records that contain rectangles and then analyze the region inside the rectangle by using the records as the input for an analysis task and setting the parameter `RestrictToInputRegion=TRUE` (in this case the analysis task automatically analyzes the last region that was added).

Configuration Parameter | Description
--- | ---
Input | The name of the input track.
LuaScript | A Lua script that produces the rectangle(s).
Type | The type of transformation engine to use. Set this parameter to `SetRectangle`.

This transformation engine produces a single output track, named `taskName.Output`, where `taskName` is the name of the transformation task.

_FT_HTML5_bannerTitle.htm