Appearance
hm5-types (source format) / Keyframe
Interface: Keyframe
Properties
| Property | Type | Description |
|---|---|---|
adjust? | AdjustProps | adjustment layers only (Layer.adjustment): what this key does to the layers below; absent = an empty key (adjusts nothing) |
camera? | CameraKey | camera layers: the camera's pose from this key on (tweens to the next key when that one has a pose). Absent = the camera is removed from this key on — the default view (owner 2026-11-17). |
commands? | PlaybackAction[] | playback ("script") layers only: actions run on entering the key |
effects? | AppliedEffect[] | preset effects stacked on this span |
elements? | Element[] | vector layers: grouped/object art, bottom→top |
follow? | KeyFollow | FOLLOW SWITCH (vector / bitmap layers, gap plan #14, Godot RemoteTransform2D): from this key on the layer follows follow instead of what it followed before (Layer.parent / parentBone, or an earlier key's switch) — a sword passed from the right hand to the left, then left on the ground. {} = follows nothing (stays where it is in the scene). Its place on screen does not jump at the switch: the difference is worked out LIVE from both targets at the key's frame (engine layerParent), never stored. Absent = no switch here. |
id? | string | stable identity, given only when something binds to this keyframe (a SoundClip.anchor); it travels with the keyframe when it moves. Copies of a keyframe never inherit it. |
imageId? | string | bitmap layers: the BitmapImage shown |
imageTransform? | Mat2D | bitmap layers: where the picture sits — picture space (0,0 = its top-left, stage units) → layer space; absent = identity (the picture covers the stage from (0, 0)). Moved / scaled / rotated with the frames (Free Transform over selected frames). Painting maps the pointer through it. |
index | number | frame number, 0-based within its scene |
label? | string | label layers (also allowed on any layer); unique per SECTION span (sectionSpans), not per timeline |
length | number | how many frames this keyframe holds (>=1). Explicit, not derived. |
markers? | Marker[] | component layers only: the markers shown from this key on (they never tween — "Create Tween" bakes one key per frame) |
motionStrokes? | MotionStroke[] | motion layers |
section? | string | section layers only: the name of the section this key starts (its own span: index … index + length - 1); "" / absent = frames that belong to no section. Unique per timeline. |
shapeHints? | object[] | vector layers: Flash shape hints (a, b, c… by index), layer-space points on the outlines of this key's shapes. A shape tween carries hint n of its start key to hint n of the next key. |
soup? | PlanarGeometry | vector layers: the "broken" Flash-style art |
tween? | Tween | vector layers only — NEVER on bitmap/motion |