Save input prompt appears in the editor

1 sentence description of the problem:
I used a “wait” and a “save input” block, went back to code, and the “save input” block still appeared!
Steps to reproduce the problem every time:

  1. After that use a “wait” block

  2. Use a “save input” block (with a variable, otherwise it won’t run)

  3. Go into the game

  4. Go back

I expected this to happen:
The save inout block won’t run.
But instead this happened:
It did run.

Screenshots/video:


Your username:
KingGuin87
Device type, iOS version:
iPad 9th generation, iPadOS 15.7

Hopscotch version & player version:
3.59.0, 2.1.4

5 Likes

never heard of this bug, I’m gonna test it. there’s no bug for me, maybe check your wifi or check if there lag in your project, maybe delete some laggy code or objects?

4 Likes

I’ll try with a new project.

3 Likes

yeah, try an empty one. once, I had so much code in my project, that invisibility wouldn’t even work.

3 Likes

I still have it!

3 Likes

that’s weird, maybe check your wifi?

2 Likes

My wifi is ok.

3 Likes

well then, I’m outta ideas,

2 Likes

You need to go back to code ~ 0.25 seconds before the prompt comes.

3 Likes

yes I did, and a 0.25 wait isn’t very long, so maybe it’s working and you didn’t notice?

3 Likes

What’s working?

3 Likes

it comes at the right time.

2 Likes

especially since you used milliseconds - very hard to measure.

2 Likes

Remove the braces {}. I only used them to show you would put a video link there and not type it literally.

It may take a while for your video to load. Try putting it on its own line separated from other lines

Like this:

Some text

Embedded video link here

Some other text
4 Likes

Still doesn’t work.

3 Likes

You forgot src after “source” (it’s <source src=…"

Here. I’ll fix it for you.

4 Likes

Thanks, now I finally know how to use this!

4 Likes

Yep.

Also, I have had this problem before. THT needs to find a way to “cancel” the block execution, which I think is what’s happening here.

5 Likes

I just tested it and was able to get it to happen. It is at a very specific moment — you have to tap back just before the prompt is due to appear.

The prompt should indeed cancel showing, if the webplayer has disappeared.

2 Likes