How can I make the Ursina engine stop calling update()
function every frame after a certain condition while also running rest of the script
The application.quit()
terminates my script and app.destroy()
just closes the window, while still calling update()
every frame.