How do I add Swords to inventory? And compare the count?


  1. Upon hover, the scale of sword tweens.
  2. Players can carry exactly two swords.
  3. When they select 2 swords, they should not be able to pick the third one.
  4. However they can drop off one they are carrying by clicking on it.

How do I ā€¦

ā€¦ Use inventory system? And Iā€™m not sure why it is not working. Please help :frowning:

What is the expected result

The LongSword is getting selected, but not unselecting on click.


Project files (optional)

Please see the attached file here: Toggle - Google Drive