Hit area detected on invisible object
Posted: 16 Jan 2026, 07:20
Hi Dorian, it was nice meeting you the other day!
I'm working on a search box UI. I have a vector magnifying glass on the top row of my scene. When I click it (mouseDown), I have the text box animating open. Super cool. But I've noticed when the search box is invisible, it's being detected in the mouseEnter state. Do you know how to keep something that's supposed to be invisible yet part of the button construction, to be inactive and not register in the mouseEnter state?
Thanks for your help, -Jeremy
I'm working on a search box UI. I have a vector magnifying glass on the top row of my scene. When I click it (mouseDown), I have the text box animating open. Super cool. But I've noticed when the search box is invisible, it's being detected in the mouseEnter state. Do you know how to keep something that's supposed to be invisible yet part of the button construction, to be inactive and not register in the mouseEnter state?
Thanks for your help, -Jeremy