Topmost element for input purposes

I have this texture where when the user clicks on it, it expands to half the size of the screen. I want this element to be topmost when it is expanded, so that any elements below it do not get input events like mousedown. How do I do this?

Other elements will still get mouse-down events. They have to somehow know not to respond to events when they aren't in front.

1) You can do that in your event script. The object will get the event, then check if it's not visible somehow, or be aware when it is active and when it should be inactive, and behave accordingly.

2) When you expand the other texture, you could actually deactivate the other ones for a while.

Hopefully that will give you some ideas. Very difficult to be specific without knowing a lot more, like how you are drawing the textures.