How to dynamically add Tags or modify existing Tags?

Hi,

I’m trying to better understand the Tag system and had a few questions regarding syntax. (I can’t seem to solve how to get .AddTag() to compile)

  • Is it possible to ADD or REMOVE a tag to a Creative Device that has a VerseTagMarkup component?

An example would be:

I have 5 device_buttonswith a VerseTagMarkup component added and a “ButtonOffTag” tag manually assigned. When a player interacts with the button, I’d like to remove “ButtonOffTag” tag and add “ButtonOnTag”

Thank you.

AddTag is Exclusive to Scene Graph entities and requires a tag_component