I'd like to add to this.
I'd like to be able to handle alt + enter inside the on input event to create a newline with automatic editbox.
I can check $mouse.key from the on input event for the alt key but without this, it's impossible to put a new line in the editbox.