restore_actor_state
Restore an actor's transform and properties in Unreal Engine using the key from a previous save. Reapply the captured state when an actor changes or needs resetting.
Instructions
Restore the transform + properties a previous serialize_actor_state wrote, addressed by the SAME key it was saved under. Idempotent: restoring twice in a row re-applies the same values both times. It restores only what was captured -- if serialize_actor_state was called without property_names, this puts back the transform and nothing else.
Returns: { restored: bool, properties_restored: [string], transform_restored: bool }
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| actor_name_or_stable_key | Yes | Required. The stable_key used at serialize time (or the actor_name, when no explicit stable_key was passed to serialize_actor_state). The actor to restore ONTO is then resolved from the actor_name stored inside the saved payload, looked up in the current world. |