Creating a tag via scripting

Hey.
I was wondering if it is possible to create a new tag object by using Lua scripting? I only see APIs to modify existing tags in the examples, am I missing something?

Ooh, I’ve just found Sprite:newTag(). Jezz, why I am so inattentive.

1 Like