How to main a condition block?


#1

Hi,
I want to make a while block, but I don’t know how to main the block inside my condition block. Can someone help me?

I tried
async (args, app, device, block) => {
while (block.arguments.bool) {
await app.workspace.runBlocks(block.id);
}
}

but the code inside isn’t executed and the boolean is’nt updated


#2