How to stop the Bot in Deriv Bot Constructor?

“I would like some assistance with a query. I am building a bot in the Deriv Bot constructor. I’m trying to create a block where the user is asked for the profit target, and that part DOES work for me. However, when I try to create another block where the user is asked for the amount they are willing to risk, it does NOT work. I haven’t found a way to stop the bot. I created a ‘Bot-stopped’ variable with true and false, but that condition still doesn’t work. How can I stop the bot? There is no stop function. It’s important to manage risk, and it seems impossible that such a function doesn’t exist. Could you please help me or inform me whether this function exists? Thank you.”