Suggestion: Wait Until and Variable Strings

Currently Hopscotch doesn’t have a “wait until” block, but a way to do this without a preset block is by using a custom block (let’s call it “waitUntil”) with the following code:

If(testStatementVar !== wantedState){
waitUntil()
}

//Written in Javascript

But hopefully THT will add a “wait until” block soon.

1 Like

I know you can do this, but it would be a lot easier and faster with a wait until block.

That is True.

There is actually a way to do string variables. Just type some text in any app, copy it and paste it into the variable. Here’s an example:

image
Hope this helped :slight_smile: .

3 Likes

It gets stored as zero though; any string equals another.

Try “if ‘abc’ = ‘def’ then set color to red” and it will be red.

4 Likes

Ok, thanks!

2 Likes

It could look like this maybe:

2 Likes

Indeed. But remember, it’s take lots of design first

3 Likes

What just happened?

1 Like


Trying…

2 Likes

bump

bumple bumpity bump

1 Like

Yeah, this is old and out of date.
@Leaders could you close/archive this please?