How do you detect and limit the kind of values a user enters in a textbox?

I'm new to this and I'm trying to understand the textbox.

I'm taking this slowly, as of now I simply want to understand how to detect and limit the kind of values a user enters in a textbox. I have it set to numbers only, but I'd like to further restrict it to only whole numbers between 0 and 12.

Additional Info:
My end goal is a textbox that allows you to type a whole number between 0 and 12. When a number between 0 and 12 is entered, it will display the corresponding amount of sprites (I think? Can images appear on top of another image?) in certain locations on top of an image.

If there's an easier way to approach this that I should be learning please let me know. I was considering a list but it has me equally, if not more, confused.

THANKS for any help :slight_smile:

I like a ListPicker preloaded with 0,1,2,3,4,5,6,7,8,9,10,11,12 for this.
After Selection, copy the Selection to the List Picker .Text to make it visible.

After a little tutorial watching, I agree the listpicker was a much easier solution thank you.

My solution:

image

3 Likes

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.