import ui
def startlaunch(countdown):
viewvalue = countdown.superview
tapped = viewvalue['launchbutton']
started = False
if tapped:
started = True
while tapped:
ui.delay(countdowntick, 1)
def countdowntick():
print("hi")
v = ui.load_view()
v.present('sheet')
but that just crashes it