Very cool! I was just needing something like this for my Defold game, this looks way better than my hacky solution.
Semi-unrelated - you say you're using tables as keys in your project. I didn't know you could do that! What are you using it for?
Semi-unrelated - you say you're using tables as keys in your project. I didn't know you could do that! What are you using it for?