Thread Tools Display Modes
04/23/24, 02:39 PM   #1
VessVelendas
Join Date: Apr 2024
Posts: 5
Moving UI elements?

Can someone explain to me (or link me to a tutorial) on moving UI elements like the crosshair, compass, etc?

I googled but wasn't able to learn anything from the few relevant results.
  Reply With Quote
04/23/24, 04:54 PM   #2
Baertram
Super Moderator
 
Baertram's Avatar
WoWInterface Super Mod
AddOn Author - Click to view addons
Join Date: Mar 2014
Posts: 4,993
control:SetMouseEnabled(true)
control:SetMovable(true)
Use handlers OnMoveStart and OnMoveStop for the position.there should be a tutorial at the Wiki for that too.

Found it:
https://wiki.esoui.com/SimpleNotebookTutorial/part6

Last edited by Baertram : 04/23/24 at 05:00 PM.
  Reply With Quote

ESOUI » Developer Discussions » Lua/XML Help » Moving UI elements?


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off