WoW:API PickupAction: Difference between revisions

From AddOn Studio
Jump to navigation Jump to search
mNo edit summary
No edit summary
Line 21: Line 21:
__NOTOC__
__NOTOC__
{{Template:WoW API}}
{{Template:WoW API}}
[[Category:API Functions|PickupAction]]
[[Category:API Action Functions|PickupAction]]
[[Category:API Cursor Functions|PickupAction]]
[[Category:API Drag and Drop Functions|PickupAction]]

Revision as of 18:45, 3 January 2006

PickupAction - Documentation by Flickering

Pick up an action for drag-and-drop.

PickupAction(actionSlot)

Parameters

Arguments

(actionSlot)
actionSlot
Numeric - The action slot to pick the action up from.

Returns

nil


Details

If the slot is empty, nothing happens, otherwise the action from the slot is placed on the cursor, and the slot is filled with whatever action was currently being drag-and-dropped (The slot is emptied if the cursor was empty).
If you wish to empty the cursor without putting the item into another slot, try PutItemInBackpack.

Template:WoW API