Skip to content

animation_toolset.toolsets.conditions.SequencerConditionTools

Tools for managing runtime conditions on Sequencer tracks, sections, and track rows. Use when setting up dynamic conditions that control whether tracks or sections evaluate at runtime based on platform, gameplay state, or custom logic. Supports MovieScenePlatformCondition, MovieSceneDirectorBlueprintCondition, and MovieSceneGroupCondition types.

9 tool(s).

animation_toolset.toolsets.conditions.SequencerConditionTools.clear_section_condition

Remove the condition from a section.

    Args:
        section: The section to clear the condition from.

Input schema

{
  "properties": {
    "section": {
      "description": "Represents a reference to a UObject or UClass.",
      "properties": {
        "refPath": {
          "description": "The reference stored as a soft path string.",
          "type": "string"
        }
      },
      "required": [
        "refPath"
      ],
      "title": "/Script/MovieScene.MovieSceneSection",
      "type": "object"
    }
  },
  "required": [
    "section"
  ],
  "type": "object"
}

Output schema

{
  "properties": {
    "returnValue": {
      "type": "boolean"
    }
  },
  "required": [
    "returnValue"
  ],
  "type": "object"
}

animation_toolset.toolsets.conditions.SequencerConditionTools.clear_track_condition

Remove the condition from a track.

    Args:
        track: The track to clear the condition from.

Input schema

{
  "properties": {
    "track": {
      "description": "Represents a reference to a UObject or UClass.",
      "properties": {
        "refPath": {
          "description": "The reference stored as a soft path string.",
          "type": "string"
        }
      },
      "required": [
        "refPath"
      ],
      "title": "/Script/MovieScene.MovieSceneTrack",
      "type": "object"
    }
  },
  "required": [
    "track"
  ],
  "type": "object"
}

Output schema

{
  "properties": {
    "returnValue": {
      "type": "boolean"
    }
  },
  "required": [
    "returnValue"
  ],
  "type": "object"
}

animation_toolset.toolsets.conditions.SequencerConditionTools.clear_track_row_condition

Remove the condition from a specific track row.

    Args:
        track: The track to modify.
        row_index: The row index (0-based).

Input schema

{
  "properties": {
    "row_index": {
      "type": "integer"
    },
    "track": {
      "description": "Represents a reference to a UObject or UClass.",
      "properties": {
        "refPath": {
          "description": "The reference stored as a soft path string.",
          "type": "string"
        }
      },
      "required": [
        "refPath"
      ],
      "title": "/Script/MovieScene.MovieSceneTrack",
      "type": "object"
    }
  },
  "required": [
    "track",
    "row_index"
  ],
  "type": "object"
}

Output schema

{
  "properties": {
    "returnValue": {
      "type": "boolean"
    }
  },
  "required": [
    "returnValue"
  ],
  "type": "object"
}

animation_toolset.toolsets.conditions.SequencerConditionTools.get_section_condition

Get the condition on a section.

    Returns the class path of the condition, or an empty string if
    no condition is set.

    Args:
        section: The section to query.

    Returns:
        Class path of the condition, or empty string.

Input schema

{
  "properties": {
    "section": {
      "description": "Represents a reference to a UObject or UClass.",
      "properties": {
        "refPath": {
          "description": "The reference stored as a soft path string.",
          "type": "string"
        }
      },
      "required": [
        "refPath"
      ],
      "title": "/Script/MovieScene.MovieSceneSection",
      "type": "object"
    }
  },
  "required": [
    "section"
  ],
  "type": "object"
}

Output schema

{
  "properties": {
    "returnValue": {
      "type": "string"
    }
  },
  "required": [
    "returnValue"
  ],
  "type": "object"
}

animation_toolset.toolsets.conditions.SequencerConditionTools.get_track_condition

Get the track-level condition.

    Args:
        track: The track to query.

    Returns:
        Class path of the condition, or empty string.

Input schema

{
  "properties": {
    "track": {
      "description": "Represents a reference to a UObject or UClass.",
      "properties": {
        "refPath": {
          "description": "The reference stored as a soft path string.",
          "type": "string"
        }
      },
      "required": [
        "refPath"
      ],
      "title": "/Script/MovieScene.MovieSceneTrack",
      "type": "object"
    }
  },
  "required": [
    "track"
  ],
  "type": "object"
}

Output schema

{
  "properties": {
    "returnValue": {
      "type": "string"
    }
  },
  "required": [
    "returnValue"
  ],
  "type": "object"
}

animation_toolset.toolsets.conditions.SequencerConditionTools.get_track_row_condition

Get the condition on a specific track row.

    Args:
        track: The track to query.
        row_index: The row index (0-based).

    Returns:
        Class path of the condition, or empty string.

Input schema

{
  "properties": {
    "row_index": {
      "type": "integer"
    },
    "track": {
      "description": "Represents a reference to a UObject or UClass.",
      "properties": {
        "refPath": {
          "description": "The reference stored as a soft path string.",
          "type": "string"
        }
      },
      "required": [
        "refPath"
      ],
      "title": "/Script/MovieScene.MovieSceneTrack",
      "type": "object"
    }
  },
  "required": [
    "track",
    "row_index"
  ],
  "type": "object"
}

Output schema

{
  "properties": {
    "returnValue": {
      "type": "string"
    }
  },
  "required": [
    "returnValue"
  ],
  "type": "object"
}

animation_toolset.toolsets.conditions.SequencerConditionTools.set_section_condition

Set a condition on a section.

    Common condition classes:
    - /Script/MovieSceneTracks.MovieScenePlatformCondition
    - /Script/MovieSceneTracks.MovieSceneDirectorBlueprintCondition
    - /Script/MovieScene.MovieSceneGroupCondition

    Args:
        section: The section to modify.
        condition_class: Full class path of the condition type.

Input schema

{
  "properties": {
    "condition_class": {
      "type": "string"
    },
    "section": {
      "description": "Represents a reference to a UObject or UClass.",
      "properties": {
        "refPath": {
          "description": "The reference stored as a soft path string.",
          "type": "string"
        }
      },
      "required": [
        "refPath"
      ],
      "title": "/Script/MovieScene.MovieSceneSection",
      "type": "object"
    }
  },
  "required": [
    "section",
    "condition_class"
  ],
  "type": "object"
}

Output schema

{
  "properties": {
    "returnValue": {
      "type": "boolean"
    }
  },
  "required": [
    "returnValue"
  ],
  "type": "object"
}

animation_toolset.toolsets.conditions.SequencerConditionTools.set_track_condition

Set a condition on a track.

    Args:
        track: The track to modify.
        condition_class: Full class path of the condition type.

Input schema

{
  "properties": {
    "condition_class": {
      "type": "string"
    },
    "track": {
      "description": "Represents a reference to a UObject or UClass.",
      "properties": {
        "refPath": {
          "description": "The reference stored as a soft path string.",
          "type": "string"
        }
      },
      "required": [
        "refPath"
      ],
      "title": "/Script/MovieScene.MovieSceneTrack",
      "type": "object"
    }
  },
  "required": [
    "track",
    "condition_class"
  ],
  "type": "object"
}

Output schema

{
  "properties": {
    "returnValue": {
      "type": "boolean"
    }
  },
  "required": [
    "returnValue"
  ],
  "type": "object"
}

animation_toolset.toolsets.conditions.SequencerConditionTools.set_track_row_condition

Set a condition on a specific track row.

    Args:
        track: The track to modify.
        row_index: The row index (0-based).
        condition_class: Full class path of the condition type.

Input schema

{
  "properties": {
    "condition_class": {
      "type": "string"
    },
    "row_index": {
      "type": "integer"
    },
    "track": {
      "description": "Represents a reference to a UObject or UClass.",
      "properties": {
        "refPath": {
          "description": "The reference stored as a soft path string.",
          "type": "string"
        }
      },
      "required": [
        "refPath"
      ],
      "title": "/Script/MovieScene.MovieSceneTrack",
      "type": "object"
    }
  },
  "required": [
    "track",
    "row_index",
    "condition_class"
  ],
  "type": "object"
}

Output schema

{
  "properties": {
    "returnValue": {
      "type": "boolean"
    }
  },
  "required": [
    "returnValue"
  ],
  "type": "object"
}