Thread
:
Save location via SavedVariables
View Single Post
02-20-24, 12:04 AM
#
4
Fizzlemizz
I did that?
Join Date: Dec 2011
Posts: 1,897
I missed the CreateFrame code for btn in the original post
For Blizz to save the position, the frame has to have a unique name.
Lua Code:
local
btn
=
CreateFrame
(
"Button"
, addonName..
"MovingButton"
, UIParent,
"UIPanelButtonTemplate"
)
__________________
Fizzlemizz
Maintainer of
Discord Unit Frames
and
Discord Art
.
Author of
FauxMazzle
,
FauxMazzleHUD
and
Move Pad Plus.
Fizzlemizz
View Public Profile
Send a private message to Fizzlemizz
Find More Posts by Fizzlemizz