Copy link to clipboard
Copied
Can you assist me with this script? My goal is to keep a textbox always highlighted. Additionally, when I press the "W" key on my keyboard, I want to delete all the content in the textbox, add the composition width to the textbox, and highlight all the text in the box, so that when I start typing I can easily change and delete all the numbers.
However, I am encountering a problem with the "textOnChanging()" function. The numbers that appear in the textbox are only zeros, and I'm unsure how to highlight the text properly.
Here is the code:
Have something to add?