Add Sequence Key
Put a key on a channel. REPORTS WHETHER IT REPLACED ONE: a channel holds at most one key per tick and every add in the engine replaces rather than refuses, so a loop keying at a fractional interval quietly loses some and reports success on every call.
hf_add_sequence_keyWriteArguments
| Name | Type | Description |
|---|---|---|
channelreq | string | Channel name, as hf_list_sequence_keys reports it: Location.X, Rotation.Roll, and so on. |
sectionreq | string | Object path of the section. |
sequencereq | string | Path to a Level Sequence or other UMovieSceneSequence asset, for example /Game/Cinematics/LS_Intro. |
time_secondsreq | number | When. Converted to ticks and rounded to the nearest one; the rounding is reported. |
valuereq | any | A number, true/false or a string, matching the channel's type. A number with a fraction into a whole number channel is REFUSED rather than rounded. |
force | boolean = false | Edit even when the asset cannot currently be saved - for example when revision control is configured but disconnected. The change will be made in memory and WILL BE LOST unless the underlying problem is fixed before saving. Only pass this if you intend to discard the work or fix the connection first. |
interpolation | string | Cubic, Linear or Constant. Cubic by default, which is Sequencer's own. REFUSED on a channel that is not a curve, because it would do nothing there. |
Related tools
Nearby in Sequencer and cinematics:
- Add Camera Cut
- Add Sequence Binding
- Add Sequence Section
- Add Sequence Track
- Add Subsequence
- Audit Sequence
- Create Level Sequence
- Describe Sequence
All 23 tools in Sequencer and cinematics — 14 more not listed here.