Discuss Scratch

abcde26
Scratcher
1000+ posts

How to make a "ask" block continuously ask for something

I'm making a AI, but the “ask () and wait” only answered once. I'm using custom blocks. Can you help? Here is the link for the project.

https://turbowarp.org/614744886
deck26
Scratcher
1000+ posts

How to make a "ask" block continuously ask for something

So the ask block needs to be in a loop. If Scratch sees another ask block it will ask again. Why did you expect it to ask more than once at the moment?
Nezon
Scratcher
1000+ posts

How to make a "ask" block continuously ask for something

repeatuntilanswer=askandwait
rocraftian
Scratcher
21 posts

How to make a "ask" block continuously ask for something

The
askandwait
block will wait for you to press enter, then it will run the blocks below it.

So this
foreveraskandwait
should work just fine.

Powered by DjangoBB