Code:
local addon = CreateFrame("Frame", "Base2", UIParent)
addon:SetHeight(128)
addon:SetWidth(128)
addon:SetUserPlaced(true)
addon:SetPoint("Center", 100, 0)
local tex = addon:CreateTexture(nil, "ARTWORK")
tex:SetTexture(file)
tex:SetAllPoints(addon)
Is what I have right now creating a frame filled with a picture
What I want to do is rotate the picture to a certain angle
What can I do to accomplish this?
I thinkg SetDegrees() only works with animations?