diff --git a/packages/dev/gui/src/2D/controls/inputText.ts b/packages/dev/gui/src/2D/controls/inputText.ts index 34201249599..2e6a0e4ad54 100644 --- a/packages/dev/gui/src/2D/controls/inputText.ts +++ b/packages/dev/gui/src/2D/controls/inputText.ts @@ -812,6 +812,13 @@ export class InputText extends Control { this._markAsDirty(); } + /** + * Allow the user to select all text + */ + public selectAllText() { + this._selectAllText(); + } + /** * Handles the keyboard event * @param evt Defines the KeyboardEvent