add bounding box info to button... idk

This commit is contained in:
len0rd 2025-08-09 17:51:27 -04:00
parent faa7b93bc3
commit 5b3dcdad9c

View file

@ -18,6 +18,10 @@ return function(core, text, ...)
hit = core:mouseReleasedOn(opt.id), hit = core:mouseReleasedOn(opt.id),
hovered = core:isHovered(opt.id), hovered = core:isHovered(opt.id),
entered = core:isHovered(opt.id) and not core:wasHovered(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 end