How can I create search bar in app?

Hello everyone, I need to add search bar in my game to help users find quickly items in the in app shop.

Everything I can create for now is just the text input. So, I dont know if I’m supposed to create variable with the key words matching for each items avaliable in my shop and when users type by exemple on the text input “gun”:

This is my logic for exemple:

If text input = variable text with value “gun”, then show gun layer on position X…and Y… in the bottom of search bar and hide other items layers.

Can someone help please? If exist any extension for search bar, please share it😅

Interesting concept. How are you saving/storing your inventory? Are you using the inventory system or an array or something else?

What is being displayed? Does each item have its own layer? Is it possible for a search to make multiple matches? Will it just search from the beginning of the word like “gu” for “gun” or would “u” also match with “gun”? Would it make partial matches?

The more info, the more likely you’ll get some help.

Thank for your intervention.

I need a real search system with possibility to match any letter or word typing with items