How do I end a warp

how do I end a warp that was caused by Experiment new blocks script pic

why not just use untitled script pic (6)?

I wanted to create something like Experiment new blocks script pic(9)

i don’t think you can stop a warp, you can use:
turbo
not the same purpose, if you use warp to speedup a process, maybe it couls be useful

Give us a concrete example of how you would like to use it.

what about something like this:


or this:

from the manual:

I don’t think that works because it warps the entire script

pretty sure it work:

the second forever loop catch tag script that you made lags

do you want terminate the forever loop if it got 100 or just exit and and loop again ?

exit and loop again

Is this a real script or an example, because i don’t understand why yo need to cancel the warp…

something like this

Why would you want to force a yield? Warps are supposed to happen instantly!

It should be doable by a untitled script pic - 2026-03-29T223841.695
Unfortunately, it deliberately, for no apparent reason, does not yield inside warp.

A relatively simple way to force yield.


Result

But I assume you are looking for a plain :snap: solution.
The try/catch suggested by @loucheman seems to be the best solution, but it’s not stackable.
A similar result you may get wrapping code into the custom block, say “abortable”. This allows breaking out of the loop/warp/code block

.

BTW: it seems that the continuation does not capture the warped (atomic) state.