Is there a wait until block?

Does a block such as this exist, or can another method be employed for the same result?
image

2 Likes

no, there is a imageblock

Try this

image

3 Likes

Ok for example if I’m waiting for an API to finish loading, how would I implement this to work that way?

The simplest would be if the block I showed existed I could just say ‘wait until’ loading icon visible = false

1 Like

I suppose I could have a timer constantly running and checking for the requirements. It’s just additional blocks to achieve it.

1 Like

I would do something like this
image

Although in practice I will also exit the loop after some seconds even if the control flag is still false.

2 Likes

Practically I will wait for the API for a certain amount of time and then had to break out and notify the user that something did not go as expected

3 Likes

This definitely works, it’s similar to putting a timer component in there and checking, yours is based on the 0.125 seconds block. I like it.

2 Likes