Easy way to make UI not active when there is UI in front of it?

Just figured I’d check on here to see if there’s any easy way to make it so that UI won’t fire .MouseEnter, or .MouseButton1Click, ect without disconnecting the events, adding a ton of if thens, or making them invisible. I figure there has to be a way to make it so that a UI blocks the UI behind it from firing, right? Let me know if you guys have come up with any smart workarounds and what not, or if I’ve got to go about it the hard way :grin:

I think a possible workaround is to block the previous frame with another frame or setting Active property to false (but when using this workaround you’d have to change .MouseButton1Click to Activated and not click.

2 Likes

Active property.

1 Like

Ah ok, I was wondering if the active property would work this way, was unaware of the fact that it only effects the activated event. Thank you!

1 Like