I made a very simple WA to move my cast bar as the default position is not ideal for one of my characters. However it constantly resets which seems to be related to after looting, talking to a vendor, NPC, etc. I have tried "Always Active Trigger" within Player/Unit Info conditions as well as Custom Event (UNIT_SPELLCAST_START) to try and provoke it anytime I cast a spell. I can't figure out how to keep it where I move it?
The Action Init Custom Function is simply:
if aura_env then
CastingBarFrame:ClearAllPoints()
CastingBarFrame:SetPoint("CENTER", UIParent, "CENTER", 0, -375)
print("Cast bar moved")
end
Thank you for any insight, I am new to LUA and a WA noob.