Skip to content

hm5-types (source format) / LayerProps

Interface: LayerProps ​

Everything the "layer tween" row can key: the layer's look plus a transform of the whole layer (x / y = offset, rotation in radians, scale about LayerTrack.pivot).

Properties ​

PropertyTypeDescription
alphanumber0..1
blendMode| "color" | "normal" | "multiply" | "screen" | "overlay" | "darken" | "lighten" | "add" | "difference" | "color-burn" | "color-dodge" | "linear-burn" | "hard-light" | "soft-light" | "exclusion" | "linear-light" | "pin-light" | "vivid-light" | "hard-mix" | "subtract" | "divide" | "saturation" | "luminosity" | "invert" | "layer" | "alpha" | "erase"-
colorEffect?ColorEffectFlash Color Effect over the whole layer; absent = none
fillAlpha?numberPhotoshop "Fill" 0..1 (Layer.fillAlpha), tweened with the alpha channel; absent = 1
filtersInstanceFilter[]-
rotationnumber-
rx?number3D turn of the whole layer about the track's pivot (owner 2026-11-08, plan R11): rotation X / Y in degrees, z = depth (+ = further); absent = 0. Tweened like a classic tween's ("3d.rx" …).
ry?number-
scaleXnumber-
scaleYnumber-
visiblebooleanfalse = not drawn (in the editor: faint)
xnumber-
ynumber-
z?number-

HereSplash — 2D animation for the web