set_mass_trait_property
Set a property on a Mass config trait via reflection. Modify trait values to adjust Mass entity behavior in Unreal Engine 5.
Instructions
Set a property (name or dotted path) on a trait in a Mass config via reflection (ImportText).
Returns: { config_path, trait_class, property_name, value, set, saved }
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| value | Yes | String value parsed by FProperty::ImportText_Direct | |
| config_path | Yes | Asset path to the UMassEntityConfigAsset | |
| trait_class | Yes | Trait class name; the trait must already be on the config (e.g. MassVelocityRandomizerTrait) | |
| property_name | Yes | Property name or dotted path (e.g. MaxSpeed, or Movement.HighResSpeed) |