Skip to main content

Group Class

Description:

  A class for creating Group objects.

__call

Type: Metamethod.

Description:

  A metamethod that creates a new group with the specified component names.

Signature:

metamethod __call: function(self: GroupClass, componemts: {string}): Group

Parameters:

ParameterTypeDescription
components{string}A table listing the names of the components to include in the group.

Returns:

Return TypeDescription
GroupThe new group.