onTag(action: (obj: GameObj , tag: string )=>void ): KEventController
Register an event that runs when an object gains a tag.
paramaction- The function that runs when an object gains a tag.
paramunknown- The tag which was added.
returnsThe event controller.
sincev3001.10
groupEvents