verify_scene_overlaps
Detect overlapping visual elements in a Manim scene by computing axis-aligned bounding boxes and reporting pairs whose boxes intersect.
Instructions
Detect overlapping visual elements (mobjects) in the current scene.
Computes axis-aligned bounding boxes for each mobject based on its stored position and dimension properties (radius, width, height, side_length, font_size). Reports any pair whose bounding boxes intersect.
NOTE: Positions are only reliably updated by move_to(). After shift/scale/rotate/next_to/align_to, the stored position may be stale. Text and TeX dimensions are estimated from font_size and character count — actual rendered glyphs may differ.
Returns: List of overlap reports, each with the pair of overlapping mobjects, their positions, types, and overlap magnitudes.
Example: >>> verify_scene_overlaps()
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "verify_scene_overlaps"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |