How to check your inventory for item

So I am trying to make a witch you can talk to, and when you talk to the witch, and you have a silver seed, a overlay will pop up and you can click it. When you click the overlay, you can then earn some money. But how do I check if you have a certiant item in your inventory when you click a button?
Pls help

By using a checker
If item amount > 0
Do, whatever you want

2 Likes

I am going to try that. I orginally was using a counter, but it didn’t work.

1 Like

Ok, so it worked, but I could not make it so that it only opens when the popup opens. Any ideas?

Just have it so that when the popup opens, it broadcasts to run the check.

1 Like

ok, thank you SO MUCH
you just solved a giant problem in my map

1 Like

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