blender.wait_for_change
Wait for a Blender scene change or timeout, then report what changed instead of re-reading the whole scene.
Instructions
Wait until the scene changes, or until timeout seconds pass.
Use it after a change you are unsure about, instead of reading the whole scene again: it returns as soon as Blender reports a change, and tells you what changed.
timeout: seconds to wait, 0-60, default 10. objects: optional object names to narrow the answer to. Omit to watch everything. include_image: set true to also return the last render, if there is one, so a wait-and-look step is a single call.
Returns {"changed": bool, "changes": int, "waited": seconds, "changed_objects": [...]}.
changed false means nothing happened before the timeout, which is an answer
rather than a failure.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| objects | No | ||
| timeout | No | ||
| include_image | No |