Hi Creators,
We are pleased to announce that adding and removing tags from the properties panel is now enabled as a beta feature.
After you turn the beta feature on, you’ll be able to see a new section for adding and removing tags at the bottom of the properties panel, right above the attributes section. The union of all tags on selected instances will be displayed underneath the tags section.
What are tags?
Tags are part of the CollectionService, which allows you to register tags to specific instances. Tags are especially useful for adding behaviors to many instances at once.
For example, if you were building an obstacle course and wanted to add bricks that kill players on contact, instead of pasting the same kill script in all of them, you can tag them with the “KillBrick” tag. You can then write a single script that will apply the kill behavior to all instances with the “KillBrick” tag!
Adding tags
To add a tag, click the plus button on the tags section to open the add tag popup. It will display a list of all tags that are currently being used in the Workspace, with the most frequently used tags appearing at the top. Clicking on one of these tags will add it to all currently selected instances.
Additionally, you can use the textbox to either type in a new tag to create and add or filter the list of current tags. You can then either click the tag you’d like to add or use keyboard inputs. The up and down arrow keys can be used to navigate through the list, and pressing the enter key will add the selection as a tag.
Removing tags
To remove a tag, hover over it in the tags section to reveal an X button. Clicking on it will remove the corresponding tag from all selected instances.
Known Issues
-
Adding a brand new tag via the properties panel will not immediately update in the TagEditor plugin. Deselect and reselect the instance to refresh the TagEditor display.
-
On Windows, clicking outside of the add tag popup to close it will also send the mouse click to the UI below the cursor. For now, you can click on the Tag header or use the escape key to close the add tag popup smoothly. A fix for this issue is coming within the next weeks.
Please let us know if you encounter any issues or have any feedback, and thanks for all your support!
Many thanks to @tnavarts, @jimjamjomj, @polarporcupine, @Dogekidd2012, and @NightlyShores for all their help in making this feature possible!