One thing I would like to see in Hopscotch is a ‘stop all code’ block which stops all the code in that player’s code. So I would use this for all my games. What do you say?
- Yes!
- No…
- Idk…
- Whatever!
- Accident!
0 voters
One thing I would like to see in Hopscotch is a ‘stop all code’ block which stops all the code in that player’s code. So I would use this for all my games. What do you say?
0 voters
1st post because I am the one who created it 
But destroy exists…
First non creator post. Not stop all code
By the player’s code, you mean the object or the project?
maybe this? (but it only stops what moving I guess)
You could create that or have a button saying STOP?
But if there was a button only you can say if it stops
If there was a block the project can do it.
And I realized destroy is different, it deletes the object
Yeah I thought that was why I was like hmmmmmm maybe not?
what’s the difference? if none of its code is running anymore, wouldn’t it be the same as deleting it?
Sbyp, a topic was made a few weeks ago, no?
nice block idea!
if you link - I can merge all info together :))
No, if an object is ‘destroy’-ed then you can’t see it
If it stops all code, you can still see it
And you can maybe have a resume block too
That would be useful for pause buttons, instead of doing “check once if ((pause) = (true))” for every object
Yes but idk how to make a stop button
The idea gives me confusion? Maybe explain it slightly better? Eh well but I’m always confused so ye
Ok. @noobcoder2000 it is just an idea to like a block to like stop every code in the project or player
You can freeze the project by causing a JavaScript error. One example of this is trying to match a string with :)
Not like that is an official block though, which would be cool to see.
But still idk how
Literally this:
check if ( test matches :) )
unless they fixed it.