- Home /
Make TextField not selectable by mouse.
Hi. I'm coding chat in my game right now and basically when I'm hitting enter I'm displaying always-focused (GUI.FocusControl(..)) TextField. Now, it works well, but whenever I'm moving in the game with mouse with this TextField opened, the whole text in it gets selected as well (because of the focus). What I'm looking for is an option to disable mouse interaction with this GUI control to avoid this.
Thanks in advance.
Comment
Your answer
Follow this Question
Related Questions
GUI.FocusControl & GUI.SetNextControlName doesn't work 2 Answers
Text fields where text will scale along with resolution. 1 Answer
How do Text Fields work? (Backend) 1 Answer
Clear gui Text field 1 Answer
GUI custom textfield cursor rendering 2 Answers