add bounding box info to button... idk
This commit is contained in:
parent
faa7b93bc3
commit
5b3dcdad9c
1 changed files with 5 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue