move()
if(character_data[0]['x']>=1):
say("Yes")
else:
say("NO")
I'm currently working with pyscript.
When you put the code above into a code block (py-repl) and run it, (The character's position was set to x+= 1 using the move function.) In this case, the x-coordinate should be 1 and say("YES") should be executed.
All code is executed at once and say("NO") is output.
Is there any way to solve these problems?
For example, do you run the code line by line in Py-repl?