Wait until block

Yes which means we really need it lol

2 Likes

Ive seen one:

var = "This is a variable."
i = 0

while var == "This is a variable":
    i += 1
    if i > 11:
      break
4 Likes

Nice idea but maybe sbyp :)) there are already a lot of topics about this

8 Likes

I do not think this is a good topic to merge suggestions to, since the topic itself is not a suggestion?

2 Likes

I checked to see if there were. It doesn’t look like I found them! I’m glad more people have thought of this.

1 Like

One workaround would be

When var x ≠ 1
Set invisibility to 0

When var x = 1
Set invisibility to 100

Hoi

I think there should be a repeat until block.
It would repeat until a variable or such equals something else. You could also use these things < > and such

Is this a…
  • Good idea
  • Bad idea

0 voters

@Ana @AwesomeOnion
(I hope I tagged the right people)

3 Likes

Good idea, but this has been suggested before — maybe search before you post next time.

2 Likes

Oops.
Should I have some clive it?

3 Likes

Or merge it here.

1 Like

awesome idea - I’ll merge with a similar one! :wink:

1 Like

Ok, thanks!

1 Like

You can use variables for this, but yeah I guess this will be cool

Nice idea
Like 2 topics were merged into this lol

I use custom blocks for Repeat Until conditions. An actual repeat until block would make coding so much easier.

Heehee, mine is tha king now

And I’m the only one who did wait until var

(Before anybody says sbyp I did and yes there is something like this but it’s not as thought out as this one)

A feature I’d like to see in Hopscotch is: A Repeat Until Block

I’d use it for this type of project: A Project were I have too stop a respect when something happens

Here are some examples of Hopscotch code that could be improved if we had this: A 3D Maze Or A Simple 3d Renderer

Here is an example design I’ve made:

I’ve seen something similar in another programming languages, it looks like this:

4 Likes

You can use repeat forever and check if.

Like this:

4 Likes