View Single Post
09-19-17, 07:46 PM   #5
Kkthnx
A Cobalt Mageweaver
 
Kkthnx's Avatar
AddOn Author - Click to view addons
Join Date: Aug 2011
Posts: 247
Could just check for it as well.

Lua Code:
  1. if x ~= 0 and y ~= 0 then
  2.     CoordText:SetFormattedText('%.0f , %.0f', x * 100, y * 100)
  3. else
  4.     CoordText:SetText('')
  5. end
__________________
Success isn't what you've done compared to others. Success is what you've done compared to what you were made to do.
  Reply With Quote