Im trying to figure out how to make a text appear and disappear
after i pick up and item. I have a key that opens the doors and after i pick up the key, the text appears but it never disappears. Can anyone help?
Im trying to figure out how to make a text appear and disappear
This is a bit heavy handed for displaying some text. It might make more sense to just have a text widget in your main HUD that you can temporarily display text to.
That said, for the example above, try setting the created widget to a variable then use that variable when removing from parent. Follow that by clearing the variable by setting it to None so that you clear any reference to it.