Use a Toy. This API is protected. If you wish to provide interface for users to access a toy, create a SecureActionButton and set the type attribute to "item" and the item attribute to the itemString stub (such as "item:####")


See also _(API_CAT_TOY).

Signature:

UseToy(itemID)

Arguments:

  • itemID - A toy's itemID (number, itemID)
This function is protected and can only be called by the Blizzard user interface