rendered paste body <CheckButton name="UBCheckButtonTemplate" inherits="SecureActionButtonTemplate, ActionBarButtonTemplate" virtual="true"> <Scripts> <OnLoad> ActionButton_OnLoad() </OnLoad> <OnAttributeChanged> ActionButton_Update() </OnAttributeChanged> <PreClick> UB_PreClick() </PreClick> <OnShow> this:SetAlpha(1) </OnShow> </Scripts> </CheckButton> <Frame name="UBPlayerTemplate" toplevel="true" enableMouse="true" movable="true" parent="UIParent" hidden="true" virtual="true"> <Size> <AbsDimension x="22" y="16" /> </Size> <Anchors> <Anchor point="TOPLEFT" relativeTo="UIParent" relativePoint="BOTTOMLEFT"> <Offset> <AbsDimension x="174" y="1046"/> </Offset> </Anchor> </Anchors> <Backdrop bgFile="Interface\DialogFrame\UI-DialogBox-Background" tile="true"> <BackgroundInsets> <AbsInset left="2" right="2" top="2" bottom="2" /> </BackgroundInsets> <TileSize> <AbsValue val="12" /> </TileSize> </Backdrop> <Scripts> <OnShow> if UBVAR.FSHOW then this:SetAlpha(1) else this:SetAlpha(0) end </OnShow> <OnMouseDown> self:StartMoving(); </OnMouseDown> <OnMouseUp> self:StopMovingOrSizing(); </OnMouseUp> </Scripts> </Frame>