What actually UI 'Active' property does?

All roblox GUI elements have Active property so far but what is it used for?

As I have read in docs it allows or disallows ui element to have input but when I tested it button had callback with and without active property enabled

So is this property doing something or not? I will be glad to see any help! :slight_smile:

6 Likes

Active just means that input cannot travel through the object.

Let’s say you had a MouseButton1Click connection on a button.

If you put a frame with active set to false that’s covering the button, you’re still able to click the button under the frame.

On the other hand, if you put a frame with the active property set to true that’s covering the Button, you aren’t able to click the button under the frame.

16 Likes

yeah thanks

also I have noticed that if I disable Active property in textBox object it is unable to enter text in it

2 Likes

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.