How to STOP an inner block?

What's problem you are encountering?
I can't stop only the immediately containing block. "stop this block" stops execution all the way out to the outermost level of the script.
What have you tried that didn't work?
stop this block
Post a project example, link, or screenshot:
https://snap.berkeley.edu/snap/snap.html#present:Username=mark33437&ProjectName=prime%20counter

maybe move the repeat block to a when i receive {}

and have the other loop broadcast {}

Try out catch from the libraries

STOP THIS BLOCK only makes sense inside a custom block. If you use it in a toplevel script, it stops the script.