From 5b3dcdad9ce52e21c8b1c08ffda8ccca1ab5b60c Mon Sep 17 00:00:00 2001 From: len0rd Date: Sat, 9 Aug 2025 17:51:27 -0400 Subject: [PATCH] add bounding box info to button... idk --- button.lua | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/button.lua b/button.lua index c063ffa..7f5d365 100644 --- a/button.lua +++ b/button.lua @@ -18,6 +18,10 @@ return function(core, text, ...) hit = core:mouseReleasedOn(opt.id), hovered = core:isHovered(opt.id), entered = core:isHovered(opt.id) and not core:wasHovered(opt.id), - left = not core:isHovered(opt.id) and core:wasHovered(opt.id) + left = not core:isHovered(opt.id) and core:wasHovered(opt.id), + x = x, + y = y, + w = w, + h = h } end