Close Iframe
What it does
Closes the active iframe, a selected iframe URL, or all active iframes.
Required item compatibility
Add it through a compatible item that shows this effect in its Tasks panel.
Setup
- Select the item that should perform this effect.
- Add Close Iframe to the task state where it should run.
- Configure the settings below and test the player path from the task’s starting state.
Settings
| Setting | What it means |
|---|---|
| Close All Iframes | Closes every active iframe. |
| Iframe URL | Optional specific iframe URL to close. |
Tiny example
Completing dialogue closes only the dialogue iframe and returns the player to the world.
Test and troubleshoot
- Leave Iframe URL blank to close the current iframe.
- Use Close All Iframes only for a deliberate full cleanup.
