Thanks mate I got that working and I added
Code:
<OnDragStart>
if IsShiftKeyDown() then
PointMe_Button:StartMoving()
end
</OnDragStart>
so that I have press shift and left click to move it.
But now for some strange reason it now appears behind the world map so that I cant click on it but I found by adding
to
Code:
<Button name="PointMe_Button" inherits="GameMenuButtonTemplate" parent="WorldMapFrame" text="Point Me" movable="true" toplevel="true">
and now it all works