script to move extraactionbutton - WoWInterface
Thread Tools Display Modes
11-01-19, 03:46 AM   #1
A Deviate Faerie Dragon
AddOn Author - Click to view addons
Join Date: Jul 2009
Posts: 17
script to move extraactionbutton

Hey people,
I need a script to move and scale the extra actionbuttons (extra/zone/dreanor)
i want to use it in my LUA addon so i dont have to use the macro all the time.

what does the code need to be to scale and move the extraactionbuttons?
  Reply With Quote
11-20-19, 02:34 PM   #2
A Cliff Giant
hasnogaems's Avatar
Join Date: Apr 2016
Posts: 75
It will not exactly anser you question but https://www.curseforge.com/wow/addons/move-anything worked fine for me in the past.
  Reply With Quote
11-25-19, 09:08 PM   #3
A Cyclonian
AddOn Author - Click to view addons
Join Date: Jan 2011
Posts: 49
Lua Code:
  1. ExtraActionButton1:ClearAllPoints()
  2. ExtraActionButton1:SetPoint("CENTER", UIParent, "CENTER", 0, -150) -- Set new position
  3. ExtraActionButton1:SetScale(1) --Scale the button
  4. ExtraActionButton1.style:SetAlpha(0) -- Hide background texture

I use this piece of code. I added the hide background texture option as i find it is not really needed and just clutters the screen. If you want to keep it just remove the last line.
  Reply With Quote

WoWInterface » AddOns, Compilations, Macros » Macro Help » script to move extraactionbutton

Thread Tools
Display Modes

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