Skip to content

hm5-types (source format) / LayerTrack

Interface: LayerTrack ​

"Layer tween": a row under the layer that keys its properties. While a layer has one, its keys decide the layer's look (the plain layer fields are what a new track starts from).

Properties ​

PropertyTypeDescription
cannedMotions?CannedMotion[]canned motions drawn above the track row
keysLayerTrackKey[]-
pivotobjectscale / rotation centre, layer space
pivot.xnumber-
pivot.ynumber-

HereSplash — 2D animation for the web