Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support Scratch blocks: "stop all", "stop other scripts in sprite" #124

Open
towerofnix opened this issue Jul 17, 2022 · 1 comment
Open
Labels
support Leopard doesn't implement a Scratch feature

Comments

@towerofnix
Copy link
Member

towerofnix commented Jul 17, 2022

Branching off #18; "stop all" depends on #209.

I'm grouping these in the same issue as they have the overlapping behavior of "stop multiple scripts at once".

Both of these will probably involve filtering/discarding lists of active triggers in some way. Remember that "stop all" also deletes existing clones!

@adroitwhiz adroitwhiz added the support Leopard doesn't implement a Scratch feature label Jul 17, 2022
@adroitwhiz
Copy link
Collaborator

"Stop all" might need to throw an exception, since it needs to stop the current script in the middle of execution no matter how far down in the call stack we are. My rough idea for implementing it is to have the "stop all" function throw an exception that Trigger.step can catch.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
support Leopard doesn't implement a Scratch feature
Projects
None yet
Development

No branches or pull requests

2 participants