Here’s the official documentation on TSets.
The docs say:
Elements can be removed by index with
the Remove function, though this is
recommended only for use while
iterating through the elements:
FruitSet.Remove(0); <-- will remove the first item.
So there is no way to differentiate between using an index or using an item.
Ok. Now here’s the problem: What happens if your TSet contains int variables?.
Set.Remove(5) will remove item 5 or find which item contains the int “5” and remove it?