- Home /
Select all text within a textarea
Is it possible to select all the text within a textarea by code? Even when running the game CTRL+A doesn't work.
Comment
Best Answer
Answer by save · Oct 26, 2011 at 11:59 AM
It's not possible as is, although it's possible with a little workaround. Check out this extension.
Answer by alyxlander · Nov 19, 2013 at 07:19 PM
Hey man try this:
GUI.skin.settings.tripleClickSelectsLine = true; // triple clicking will now select all text in the text area.
Your answer
![](https://koobas.hobune.stream/wayback/20220613022605im_/https://answers.unity.com/themes/thub/images/avi.jpg)