API:ClickTradeItem

Clicks an item you're trading. Same as if with the left mouse button.
ClickTradeItem(index)
== Parameters==
=== Arguments===
: index
::Index number of the trade window slot. Number between 1 and 8 
== note==
:* If you click on an item, you will pick it up
:* If you are holding something and click an empty slot, you will drop the item there.
:* If you are holding something and click on an item, you will switch the items.
== Example==
ClickTradeItem(1)
== Related functions ==
* API:SetTradeMoney - Sets the amount of money you wish to trade
* API:PickupBagItem - Behaves the same as ClickTradeItem but with bag slots
Category:Functions