Forum Archive

Cannot show alert from main UI thread

techteej

Apparently I can't launch

player_name = console.input_alert('What is your name? ').title()

in a scene already running?

henryiii

What module? In ui, you need to put it in a function and use @ui.in_background to decorate it. You will need to have the function call something after getting the title.

Not sure about the scene module.

techteej

In the scene module.