local sx, sy = guiGetScreenSize(); local cx, cy = getCursorPosition(); local x = cx * sx; local y = cy * sy;