m
Move page script moved page API PickupAction to WoW:API PickupAction without leaving a redirect
(upgraded deprecated template) |
m (Move page script moved page API PickupAction to WoW:API PickupAction without leaving a redirect) |
||
| (5 intermediate revisions by 5 users not shown) | |||
| Line 1: | Line 1: | ||
{{ | {{protectedcombatapi|2.2}} | ||
{{wowapi|toc=0}} | |||
Pick up an action for drag-and-drop. | Pick up an action for drag-and-drop. | ||
PickupAction(actionSlot) | |||
== Parameters == | == Parameters == | ||
=== Arguments === | === Arguments === | ||
* actionSlot (number) - The [[ActionSlot|action slot]] to pick the action up from. | |||
=== Returns === | === Returns === | ||
: | : none | ||
== Details == | == 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 [[API ClearCursor|ClearCursor]]. | |||