-- button calls respective function in "Global" function onLoad() self.createButton({ click_function = "handleStatTrackerClick", tooltip = "Left-Click: Print stats\nRight-Click: Reset stats", height = 1250, width = 1250, color = { 0, 0, 0, 0 } }) end