add_anim_sync_marker
Append a named sync marker at a specified time to a UAnimSequence on marker track 0 and save it in an undo transaction, returning the total sync marker count for animation sync groups.
Instructions
Append an authored sync marker (name and time, on marker track 0) to a UAnimSequence in an undo transaction and save it; duplicates are not checked, nor is the time checked against the sequence length. Returns num_sync_markers. Remove with remove_anim_sync_marker. A failed save makes success false, with saved=false and save_error.
Returns: { anim_sequence_path, marker_name, time, num_sync_markers, success, saved, save_error, message }
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| time | No | Sync marker time in seconds (default 0.5) | |
| marker_name | Yes | Name of the sync marker (e.g. "LeftFootDown"); sequences in one sync group line up markers that share a name. | |
| anim_sequence_path | Yes | Asset path of the UAnimSequence. |