Lets say I have a text field and only numbers can be searched. When someone types in a number and clicks on a search button, the scene will go to another scene. Here is a list of number which can searched and what will come up:
Numbers:
1: Will go to a scene called red
2: Will go to a scene called blue
3: Will go to a scene called yellow
4: Will go to a scene called green
5: Will go to a scene called gray
How do I do this?