MotionScript

@motion-script/core


@motion-script/core / NodeBlendModes

Variable: NodeBlendModes

const NodeBlendModes: readonly ["multiply", "screen", "overlay", "darken", "lighten", "color-dodge", "color-burn", "hard-light", "soft-light", "difference", "exclusion", "hue", "saturation", "color", "luminosity", "normal", "pass-through"]

Defined in: attributes/shape/fill/blend.ts:39

Blend modes a node/layer can carry. Adds Figma's pass-through to the fill BlendMode set. pass-through (the node default) means the layer is not isolated: its opacity scales each child/fill's contribution while those children still blend directly against the backdrop. Any other value isolates the node — its children flatten into a group that then blends against the backdrop with the chosen mode. Fills never accept pass-through.