Skip to content

K.Tag ​

Functions ​

K.Tag.On ​

lua
K.Tag.On(tag: string, options: any, callback: any)

K.Tag(tag, options?, fn) is the same as K.Tag.On(tag, options?, fn).

K.Tag.Add ​

lua
K.Tag.Add(instance: Instance, tag: string)

K.Tag.Remove ​

lua
K.Tag.Remove(instance: Instance, tag: string)

K.Tag.Has ​

lua
K.Tag.Has(instance: Instance, tag: string): boolean

K.Tag.Find ​

lua
K.Tag.Find(tag: string): { Instance }

Every object with the tag, anywhere in the game.

Methods on behavior ​

behavior:Get ​

lua
behavior:Get(): { Instance }

The objects that have this behavior right now.

behavior:Disconnect ​

lua
behavior:Disconnect()

Stops the behavior and cleans up after every object.

Generated from src/Corode/Tag.luau.

Corode 0.13.0 · MIT License