armory3d/zui

isHovered only returns true when hovering over the last element.

Closed this issue · 2 comments

I might be not understanding how to use isHovered properly, but it seems it is only returning true when the cursor is hovering over the last element (and not the whole window).

Hello, thanks for report. Check the example at https://github.com/armory3d/zui/blob/master/examples/Elements/Sources/Elements.hx#L33, it should work for non-last elements as well.

Ah I see, I thought I could check isHovered for the entire window. Is there a way to do that?