LayerRectMask

Read with AI
All docs in one file (llms-full.txt)
LayerRectMask #Layer #Node
LayerRectMask

Crops the selected layer to a rectangle. In addition to the top, bottom, left, and right positions, you can set the edge blur separately for X and Y.

The output of a Layer node is not an echo of its input, but the actual value of the layer picked in the dropdown. Even with nothing plugged into the input, values moved from the Layer window or over MIDI flow out of the output, so you can use a layer’s state to control other nodes (a bidirectional design where the node is both a write point and a read point).

Input ports

Port IDType
Leftfloat
Rightfloat
Topfloat
Bottomfloat
Softness Xfloat
Softness Yfloat

Output ports

Port IDType
Leftfloat
Rightfloat
Topfloat
Bottomfloat
Softness Xfloat
Softness Yfloat

Scriptable members

PathType
inputLeftfloat
inputRightfloat
inputTopfloat
inputBottomfloat
inputSoftnessXfloat
inputSoftnessYfloat
selectedLayerIndexint

Synapse Apps (scripting)

await synapse.modules.create({ type: "LayerRectMask" })