Drag item inside button and retrieve item info
I created a button. Once I have dragged an item (for example, an object from the bags) into the button, how can I retrieve information about the item such as, for example, its icon?
|
This might point you in the right direction.
https://wowpedia.fandom.com/wiki/UIH..._OnReceiveDrag I haven't done anything like this before myself but this page sounds like it covers the task you are trying. |
GetCursorInfo() says what's on the cursor. You can call that when your button receives something:
Lua Code:
|
All times are GMT -6. The time now is 11:49 PM. |
vBulletin © 2024, Jelsoft Enterprises Ltd
© 2004 - 2022 MMOUI