Attention | Topic was automatically imported from the old Question2Answer platform. | |
Asked By | picnic |
I’m using a TextEdit box to add messages about what’s happening during a game as per the function below. Is it possible to automatically scroll up when adding a new message at the end to ensure the last message is visible?
func add_message(msg):
get_node("../MessageBox").insert_text_at_cursor(msg + "\n")