Skip to main content

ApplyTagToTaggedChildren

Class that while constructed apply a tag to any children of the parent it is given, assuming that class has the required tag.

This lets you bridge tag systems since CollectionService is used as an interop model between many components in scripts.

Functions

new

ApplyTagToTaggedChildren.new(
parentInstance,
tagstring,
requiredTagstring
) → ApplyTagToTaggedChildren

Creates a new ApplyTagToTaggedChildren.

Show raw api
{
    "functions": [
        {
            "name": "new",
            "desc": "Creates a new ApplyTagToTaggedChildren.",
            "params": [
                {
                    "name": "parent",
                    "desc": "",
                    "lua_type": "Instance"
                },
                {
                    "name": "tag",
                    "desc": "",
                    "lua_type": "string"
                },
                {
                    "name": "requiredTag",
                    "desc": "",
                    "lua_type": "string"
                }
            ],
            "returns": [
                {
                    "desc": "",
                    "lua_type": "ApplyTagToTaggedChildren"
                }
            ],
            "function_type": "static",
            "source": {
                "line": 29,
                "path": "src/applytagtotaggedchildren/src/Shared/ApplyTagToTaggedChildren.lua"
            }
        }
    ],
    "properties": [],
    "types": [],
    "name": "ApplyTagToTaggedChildren",
    "desc": "Class that while constructed apply a tag to any children of the parent it is given, assuming that\nclass has the required tag.\n\nThis lets you bridge tag systems since CollectionService is used as an interop model between many\ncomponents in scripts.",
    "source": {
        "line": 11,
        "path": "src/applytagtotaggedchildren/src/Shared/ApplyTagToTaggedChildren.lua"
    }
}