Edition 1.19.3
I’m trying to wrap my mind around the text input object… the ultimate goal is to have a user enter a number value that passes to a variable and can be used in the project code to make other things happen. But at this point, I’m just trying to get the value from the input to appear in another text field when I click a button. I’ve looked at lots of examples, but they all seem so complicated. I feel like I can have a button, when its pressed the value of the textInput passes to a variable and then the text field picks up the variable to show what was input.
I tried to attach my example but “new user”… don’t see why its not working
Here’s the code I attached to the button within a “mouseclick” script:
project.textVar = project.textInput.value;
project.texter.setText(textVar);
textVar is my variable, textInput is the name of the input text object. Texter is the name of the text field.
Thanks