CodeFizz
ToolsDemoDocsBlogRoadmapChangelogPricingCompareFAQ
Get the plugin

Getting Started

  • Introduction
  • Quick Start
  • Requirements
  • Installing the CLI
  • License & Machines

Guides

  • Installing the Plugin
  • The AI Skill
  • CLI vs MCP
  • Multiple Editors
  • How It Works
  • Discovering Commands
  • The Editor Chat Panel
  • Image Generation (OpenRouter)
  • Play Testing and Packaging
  • Agent Safety: Busy Editor, Jobs and Rollback
  • Token Cost: CFA Bench

Walkthroughs

  • Build a Blueprint with AI
  • Author a Material Graph
  • Create a Niagara System
  • Rig a Character with AI
  • Build an Animation Blueprint
  • Build Sound with AI
  • Build a Modular Character
  • Grow a Tree with AI
  • Build a Gameplay Ability System
  • Generate a Landscape with AI
  • Work with World Partition

Reference

  • Reference
  • Audio
  • Mutable
  • Control Rig
  • Niagara
  • PCG
  • Procedural Vegetation
  • Materials
  • Gameplay Ability System
  • World Building
  • Behavior Trees
  • Environment Queries
  • StateTree
  • Sequencer
  • Level Actors
  • Project Settings
  • Blueprints
  • Blueprint Structs and Enums
  • Enhanced Input
  • Asset Management
  • Bulk Asset Ops
  • Data Assets
  • Object Properties
  • UMG Widgets
  • Data Tables
  • Curves
  • Retargeting
  • Skeletal Meshes
  • Static Meshes
  • Animation
  • Chooser Tables
  • Motion Matching
  • UAF (Animation Framework)
  • Console Commands
  • Revision Control and Asset Diff
  • Profiling
  • Packaging and Devices
  • Play Session
  • Testing
  • C++ Builds
  • Project Index
  • Editor UI
  • Image Generation
  • Core
  • Debug
  • Mass Entity (ECS)

Help

  • FAQ
  • Troubleshooting
  • For AI Agents
  • Fix: Plugin failed to load, module could not be loaded (GetLastError 126)
  • Fix: bridge unreachable, editor not responding
  • Fix: cfa targeted the wrong Unreal editor
  • Fix: the CodeFizz panel does not show Active
  • Fix: Unknown command, or plugin version mismatch after an update
DocsReferenceMotion Matching

Motion Matching

Set up Motion Matching with Pose Search. Unreal Engine 5 command reference with parameters and examples.

Loading…
PreviousChooser TablesNextUAF (Animation Framework)
CodeFizz

A drop-in Unreal Engine 5 plugin that exposes the entire editor surface (Blueprints, Materials, Niagara, PCG, StateTree, Control Rig, Insights profiling, and more) over the Model Context Protocol. Connect Claude Code, Cursor, VS Code, or any MCP-compatible client and let your AI build inside the engine.

Product

  • Features
  • Docs
  • Tools
  • Blog
  • Demo
  • Roadmap
  • Changelog
  • Pricing
  • Compare
  • FAQ

Resources

  • Install guide
  • Discord
  • YouTube
  • Open-source edition
  • Manage subscription

Legal

  • Refund Policy
  • Privacy Policy
  • Terms of Service

© 2026 CodeFizz. All rights reserved.

CodeFizz Editor Agent is a CodeFizz product. Payments processed by Polar Software, Inc. (Polar), the Merchant of Record.

13 commands. Each shows its parameters and an example, and has a copyable deep link, so you (or an AI agent) can jump straight to one.

get_pose_search_asset

Read a Pose Search Schema (skeletons, channels) or Database (settings, entries)

A schema: sample rate, cardinality, skeletons (skeleton, mirror data table, role) and channels by index with their fields. A database: its settings (Schema, cost biases, tags, search mode...) and entries by index with asset, kind, enabled, mirror option, sampling range and whether the asset's skeleton fits the schema.

ParameterTypeRequiredDescription
asset_pathstringYesPose Search Schema or Database path
filterstringNoSubstring filter on a database entry's asset path
max_resultsintNoMax database entries to return (0 = all); reports truncated
example
cfa get_pose_search_asset /Game/MM/PSS_Locomotion
cfa get_pose_search_asset /Game/MM/PSD_Locomotion --filter Jog
add_pose_search_channel

Add a feature channel to a Pose Search Schema (Pose, Trajectory, Velocity...), or Epic's default pair

--type is a channel class from this engine's reflection: Pose, Trajectory, Velocity, Position, Heading, Phase, Curve, Group, Padding... (an unknown name lists the real ones), or default for the Trajectory + Pose pair the editor puts in a new schema. --properties sets the channel's fields by reflection, e.g. {"Weight":2}. Undoable.

ParameterTypeRequiredDescription
schema_pathstringYesPose Search Schema path
typestringYesChannel type (Pose, Trajectory, Velocity...) or default
propertiesjsonNoThe channel's fields as JSON
example
cfa add_pose_search_channel --schema-path /Game/MM/PSS_Locomotion --type default
cfa add_pose_search_channel --schema-path /Game/MM/PSS_Locomotion --type Velocity --properties '{"Bone":{"BoneName":"hand_r"},"Weight":0.5}'
set_pose_search_channel

Change a Pose Search Schema channel's fields by index (Weight, SampledBones, Samples...)

ParameterTypeRequiredDescription
schema_pathstringYesPose Search Schema path
indexintYesChannel index from get_pose_search_asset
propertiesjsonYesThe fields to change as JSON
example
cfa set_pose_search_channel --schema-path /Game/MM/PSS_Locomotion --index 0 --properties '{"Weight":5}'
remove_pose_search_channel

Remove a channel from a Pose Search Schema by index

ParameterTypeRequiredDescription
schema_pathstringYesPose Search Schema path
indexintYesChannel index from get_pose_search_asset
example
cfa remove_pose_search_channel --schema-path /Game/MM/PSS_Locomotion --index 2
set_pose_search_skeleton

Add or update a Pose Search Schema skeleton by role, with its Mirror Data Table

Plain animations use the default role (leave --role out). Mirrored entries need a Mirror Data Table on every schema skeleton, or the index build fails. --mirror-data-table none clears it.

ParameterTypeRequiredDescription
schema_pathstringYesPose Search Schema path
skeletonstringYesSkeleton asset path
mirror_data_tablestringNoMirror Data Table path, or none to clear; leave out to keep
rolestringNoRole name; leave out for the default role
example
cfa set_pose_search_skeleton --schema-path /Game/MM/PSS_Locomotion --skeleton /Game/Characters/Mannequins/Meshes/SK_Mannequin --mirror-data-table /Game/MM/MDT_Mannequin
add_pose_search_animations

Add animations to a Pose Search Database (sequences, blend spaces, composites, montages)

Done the way the database editor adds them (Modify, add, PostEditChange), so it is undoable. --properties sets entry fields on each added entry by reflection: bEnabled, MirrorOption (UnmirroredOnly, MirroredOnly, UnmirroredAndMirrored), SamplingRange ({"Min":0,"Max":0} is the whole asset), and on 5.7+ the blend space sampling fields. An asset already in the database is skipped and named.

ParameterTypeRequiredDescription
database_pathstringYesPose Search Database path
assetsstringlistYesAnimation asset paths
propertiesjsonNoEntry fields applied to each added entry, as JSON
example
cfa add_pose_search_animations --database-path /Game/MM/PSD_Locomotion --assets /Game/Anims/MF_Jog_Fwd,/Game/Anims/MF_Jog_Bwd --properties '{"MirrorOption":"UnmirroredAndMirrored"}'
set_pose_search_animation

Change one Pose Search Database entry by index or asset (enabled, mirror option, sampling range...)

ParameterTypeRequiredDescription
database_pathstringYesPose Search Database path
indexintNoEntry index from get_pose_search_asset
assetstringNoThe entry's animation asset path (instead of index)
propertiesjsonYesEntry fields to change, as JSON
example
cfa set_pose_search_animation --database-path /Game/MM/PSD_Locomotion --asset /Game/Anims/MF_Jog_Fwd --properties '{"bEnabled":false}'
remove_pose_search_animations

Remove Pose Search Database entries by asset or index

ParameterTypeRequiredDescription
database_pathstringYesPose Search Database path
assetsstringlistNoAnimation asset paths whose entries to remove
indicesjsonNoEntry indices to remove, e.g. [0,3]
example
cfa remove_pose_search_animations --database-path /Game/MM/PSD_Locomotion --assets /Game/Anims/MF_Jog_Fwd
build_pose_search_index

Build a Pose Search Database's search index and wait; returns the engine's own errors and warnings

Uses the same request the cooker makes, then waits. A failed build is an error whose text is the engine's LogPoseSearch message (for example a schema with no channels or a mirrored entry with no Mirror Data Table).

ParameterTypeRequiredDescription
database_pathstringYesPose Search Database path
timeout_secondsintNoSeconds to wait (1-570)
example
cfa build_pose_search_index --database-path /Game/MM/PSD_Locomotion
validate_pose_search_database

Verdict for a Pose Search Database: schema, channels, skeletons, mirror tables, assets, then the index build

Returns verdict = pass | pass_with_warnings | fail plus findings. Each rule is one the index build applies. Errors: no_schema, schema_no_channels, schema_no_skeleton, negative_channel_weight, mirror_table_no_skeleton, mirror_table_missing (a mirrored entry with a schema skeleton that has no Mirror Data Table), asset_no_skeleton, index_build_failed (the engine's own message). Warnings: entry_no_asset, skeleton_incompatible (the engine leaves the asset out), blend_space_sync_phases, no_enabled_entries, index_build_unfinished. --build-index=false skips the build.

ParameterTypeRequiredDescription
database_pathstringYesPose Search Database path
build_indexboolNoAlso build the index and report a failed build
filterstringNoSubstring filter on the finding code, target or message
max_resultsintNoMax findings to return (0 = all); reports truncated
example
cfa validate_pose_search_database /Game/MM/PSD_Locomotion
get_motion_matching_state

What a running character's Motion Matching plays now: animation, time, cost, play rate, mirror, database, speed

Needs a running Play In Editor session. Finds every Motion Matching node in the actor's running anim instances (main, linked layers, post process) and reads its live MotionMatchingState by reflection: the picked animation and time, whether the search continued the current pose, the wanted play rate, mirror and loop, the database it came from and the search cost (lower is a closer match). Also the node's Settings fields, the Pose History nodes (and whether they generate a trajectory) and the character's speed and acceleration. A node with no pick says why it may be empty. For behaviour over time use sample_motion_matching; for the engine's own on-screen debug, see the Motion Matching guide in the skill.

ParameterTypeRequiredDescription
actorstringYesRunning actor name, from list_runtime_actors --spawned-only=false
worldstringNoPlay world: server (default), client1... or instance:N
example
  cfa get_motion_matching_state --actor BP_Hero_C_0
sample_motion_matching

Record Motion Matching over time, optionally while pressing keys: picks, pose jumps, cost and speed per step, with a verdict

Needs a running Play In Editor session. Records the actor's Motion Matching node every frame for --seconds, or while it presses --steps (the same steps as simulate_input, sent to the local player). Returns, per step (or for the whole run), the poses picked with their share of frames, pose jumps, the search cost range, the play rate range, average and top speed and frames with no pick; a timeline of which pose played when; and verdict = pass | pass_with_warnings | fail with findings. Errors: no_search_result (the node picked nothing on most frames: no database, an empty Database pin, still indexing, or a node the graph never reaches), no_pose_history. Warnings: pose_flicker (poses held under 0.25 s between others), frequent_pose_jumps (over 4 a second), input_no_effect (keys held and the pawn did not move), same_pose_at_all_speeds, keys_went_elsewhere. One recording runs per actor; the CLI waits for it.

ParameterTypeRequiredDescription
actorstringYesRunning actor name, from list_runtime_actors --spawned-only=false
stepsjsonNoJSON array of steps, each {"keys":[...],"seconds":N}: key names as Unreal spells them (W, A, S, D, SpaceBar, LeftShift, LeftControl, E, LeftMouseButton), keys in one step are held together, an axis key takes a value ({"key":"MouseX","value":4} per frame, {"key":"Gamepad_LeftY","value":1} held), an empty keys array waits. Up to 64 steps, 60 s each, 120 s in all
secondsfloatNoSeconds to record when no steps are given (0.2 to 60)
nodestringNoMotion Matching node name when the actor runs several (from get_motion_matching_state)
worldstringNoPlay world: server (default), client1... or instance:N
waitboolNoWait until it finishes and return the result (false = return at once; repeat the same call to collect it)
wait_timeoutintNoSeconds to wait before returning a still-running job (default 100; 50 over MCP)
restartboolNoStop a different run already going in the same slot and start this one
example
  cfa sample_motion_matching --actor BP_Hero_C_0 --seconds 3
  cfa sample_motion_matching --actor BP_Hero_C_0 --steps '[{"keys":["W"],"seconds":2},{"keys":["W","A"],"seconds":2},{"keys":["S"],"seconds":1.5},{"keys":[],"seconds":1}]'
validate_motion_matching_setup

Verdict for an Anim Blueprint's Motion Matching: database pin, schema skeleton, index, Pose History placement, trajectory

Returns verdict = pass | pass_with_warnings | fail plus findings, read from the graph the way the compiler reads it. Errors: no_motion_matching_node, no_pose_history, database_pin_empty (the node holds a database but its visible Database pin is empty, and the compiler uses the pin), database_missing, database_no_schema, skeleton_mismatch, index_build_failed, pose_history_not_downstream (Pose History must sit between Motion Matching and the Output Pose), blueprint_compile_error. Warnings: no_trajectory (the search ignores where the character goes), pose_history_not_proven (a node in a nested graph), index_build_unfinished, not_compiled. Info: database_dynamic. Each finding names the node GUID and the command that fixes it. --build-index=false skips the index build.

ParameterTypeRequiredDescription
blueprint_pathstringYesAnim Blueprint path
build_indexboolNoAlso build each database's index and report a failed build
example
  cfa validate_motion_matching_setup /Game/MotionMatching/ABP_MM_Character