🔥码云GVP开源项目 12k star Uniapp+ElementUI 功能强大 支持多语言、二开方便! 广告
These functions relate to the[Cursor](https://wow.gamepedia.com/Cursor "Cursor"). [AutoEquipCursorItem](https://wow.gamepedia.com/API_AutoEquipCursorItem "API AutoEquipCursorItem")() - Causes the equipment on the cursor to be equipped. [ClearCursor](https://wow.gamepedia.com/API_ClearCursor "API ClearCursor")() - Clears whatever item the cursor is dragging from the cursor. [ClickSocketButton](https://wow.gamepedia.com/index.php?title=API_ClickSocketButton&action=edit&redlink=1 "API ClickSocketButton (page does not exist)")(id) - If the cursor is currently holding a gem, tentatively insert it into the socket. [CursorCanGoInSlot](https://wow.gamepedia.com/API_CursorCanGoInSlot "API CursorCanGoInSlot")([invSlot](https://wow.gamepedia.com/InventorySlotId "InventorySlotId")) - Returns true if the item currently held by the cursor can go into the given inventory (equipment) slot. [CursorHasItem](https://wow.gamepedia.com/API_CursorHasItem "API CursorHasItem")() - Returns true if the cursor currently holds an item. [CursorHasMacro](https://wow.gamepedia.com/index.php?title=API_CursorHasMacro&action=edit&redlink=1 "API CursorHasMacro (page does not exist)")() - Returns 1 if the cursor is currently dragging a macro. [CursorHasMoney](https://wow.gamepedia.com/index.php?title=API_CursorHasMoney&action=edit&redlink=1 "API CursorHasMoney (page does not exist)")() - Returns true if the cursor currently holds money. [CursorHasSpell](https://wow.gamepedia.com/index.php?title=API_CursorHasSpell&action=edit&redlink=1 "API CursorHasSpell (page does not exist)")() - Returns true if the cursor currently holds a spell. [DeleteCursorItem](https://wow.gamepedia.com/API_DeleteCursorItem "API DeleteCursorItem")() - Destroys the item on the cursor. [DropCursorMoney](https://wow.gamepedia.com/API_DropCursorMoney "API DropCursorMoney")() - Drops the amount of money held by the cursor. [DropItemOnUnit](https://wow.gamepedia.com/API_DropItemOnUnit "API DropItemOnUnit")("unit") - Drops an item from the cursor onto a unit. [EquipCursorItem](https://wow.gamepedia.com/API_EquipCursorItem "API EquipCursorItem")([invSlot](https://wow.gamepedia.com/InventorySlotId "InventorySlotId")) - Equips the currently picked up item to a specific inventory slot. [GetCursorDelta](https://wow.gamepedia.com/index.php?title=API_GetCursorDelta&action=edit&redlink=1 "API GetCursorDelta (page does not exist)")() [GetCursorInfo](https://wow.gamepedia.com/API_GetCursorInfo "API GetCursorInfo")() - Returns information about what the cursor is holding. [GetCursorMoney](https://wow.gamepedia.com/API_GetCursorMoney "API GetCursorMoney")() - Returns the amount of money held by the cursor. [GetCursorPosition](https://wow.gamepedia.com/API_GetCursorPosition "API GetCursorPosition")() - Returns the cursor's position on the screen. [HideRepairCursor](https://wow.gamepedia.com/API_HideRepairCursor "API HideRepairCursor")() - Hides the repair cursor. [InRepairMode](https://wow.gamepedia.com/API_InRepairMode "API InRepairMode")() - Returns true if your cursor is in repair mode. [PickupAction](https://wow.gamepedia.com/API_PickupAction "API PickupAction")(slot) - Drags an action out of the specified quickbar slot and holds it on the cursor. [PickupBagFromSlot](https://wow.gamepedia.com/API_PickupBagFromSlot "API PickupBagFromSlot")(slot) - Picks up the bag from the specified slot, placing it in the cursor. [PickupCompanion](https://wow.gamepedia.com/API_PickupCompanion "API PickupCompanion")("type", index) - Picks up the indexed companion onto the mouse cursor. [PickupContainerItem](https://wow.gamepedia.com/API_PickupContainerItem "API PickupContainerItem")([bagID](https://wow.gamepedia.com/BagID "BagID"), slot) [PickupCurrency](https://wow.gamepedia.com/index.php?title=API_PickupCurrency&action=edit&redlink=1 "API PickupCurrency (page does not exist)")(currencyType) - Unused in FrameXML. [PickupGuildBankItem](https://wow.gamepedia.com/index.php?title=API_PickupGuildBankItem&action=edit&redlink=1 "API PickupGuildBankItem (page does not exist)")(tab, slot) - Picks up an item from the guild bank. [PickupGuildBankMoney](https://wow.gamepedia.com/index.php?title=API_PickupGuildBankMoney&action=edit&redlink=1 "API PickupGuildBankMoney (page does not exist)")(money) - Picks up "money" copper from the guild bank. [PickupInventoryItem](https://wow.gamepedia.com/API_PickupInventoryItem "API PickupInventoryItem")([invSlot](https://wow.gamepedia.com/InventorySlotId "InventorySlotId")) - Picks up an item from the player's worn inventory. [PickupItem](https://wow.gamepedia.com/API_PickupItem "API PickupItem")(itemId or "itemString" or "itemName" or "itemLink") [PickupMacro](https://wow.gamepedia.com/API_PickupMacro "API PickupMacro")("macroName" or index) - Places the specified macro onto the cursor. [PickupMerchantItem](https://wow.gamepedia.com/API_PickupMerchantItem "API PickupMerchantItem")(index) - Places the item onto the cursor. If the cursor already has an item, the item in the cursor will be sold. [PickupPetAction](https://wow.gamepedia.com/API_PickupPetAction "API PickupPetAction")(slot) - Drags an action from the specified pet action bar slot into the cursor. [PickupPetSpell](https://wow.gamepedia.com/API_PickupPetSpell "API PickupPetSpell")(spellID) [PickupPlayerMoney](https://wow.gamepedia.com/API_PickupPlayerMoney "API PickupPlayerMoney")(copper) - Picks up an amount of money from the player. [PickupPvpTalent](https://wow.gamepedia.com/index.php?title=API_PickupPvpTalent&action=edit&redlink=1 "API PickupPvpTalent (page does not exist)")() [PickupSpellBookItem](https://wow.gamepedia.com/API_PickupSpellBookItem "API PickupSpellBookItem")(spellSlot) [PickupSpell](https://wow.gamepedia.com/API_PickupSpell "API PickupSpell")("spellName" | spellID, "bookType") - Places the specified spell onto the cursor. [PickupStablePet](https://wow.gamepedia.com/API_PickupStablePet "API PickupStablePet")(index) [PickupTalent](https://wow.gamepedia.com/index.php?title=API_PickupTalent&action=edit&redlink=1 "API PickupTalent (page does not exist)")(talentID) - Grabs the selected talent spell for placement on an action bar. [PickupTradeMoney](https://wow.gamepedia.com/API_PickupTradeMoney "API PickupTradeMoney")(copper) - Picks up an amount of money from the player's trade offer. [PlaceAction](https://wow.gamepedia.com/API_PlaceAction "API PlaceAction")(slot) - Drops an action from the cursor into the specified quickbar slot. [ResetCursor](https://wow.gamepedia.com/API_ResetCursor "API ResetCursor")() [SellCursorItem](https://wow.gamepedia.com/index.php?title=API_SellCursorItem&action=edit&redlink=1 "API SellCursorItem (page does not exist)")() [SetCursor](https://wow.gamepedia.com/API_SetCursor "API SetCursor")("cursor") - Path to a texture to use as the cursor image (must be 32x32 pixels) or one of the built-in cursor tokens or nil. [SetItemUpgradeFromCursorItem](https://wow.gamepedia.com/index.php?title=API_SetItemUpgradeFromCursorItem&action=edit&redlink=1 "API SetItemUpgradeFromCursorItem (page does not exist)")() [ShowBuybackSellCursor](https://wow.gamepedia.com/index.php?title=API_ShowBuybackSellCursor&action=edit&redlink=1 "API ShowBuybackSellCursor (page does not exist)")(index) [ShowContainerSellCursor](https://wow.gamepedia.com/index.php?title=API_ShowContainerSellCursor&action=edit&redlink=1 "API ShowContainerSellCursor (page does not exist)")(index, slot) [ShowInventorySellCursor](https://wow.gamepedia.com/index.php?title=API_ShowInventorySellCursor&action=edit&redlink=1 "API ShowInventorySellCursor (page does not exist)")() [ShowRepairCursor](https://wow.gamepedia.com/API_ShowRepairCursor "API ShowRepairCursor")()