Ways to disable a button

Hello!
I have seen a few ways to disable a button but they don’t work for me. I am using a tween to move a frame over another frame with buttons and the buttons behind it can be clicked. Anyone know a way to stop this? Like fully stop it from when you hover over it, it showing like the mouse change?

just make a script and locate the button with

local btn = script.parent

then you need to create a function and do this innit

btn.Visible = false

need more info?

Change the Active Property to false for it not to fire the ButtonClick events when clicked.

Change the AutoButtonColor Property to false for it not to change the color when mouse hovers over it.

1 Like

This works because it stops the button from changing colour and stops click events.
Weirdly though, the cursor still changes to the click icon after clicking on a button with these properties disabled.
How to prevent…? For now, I am swapping out my TextButtons with TextLabels to completely stop the cursor from changing to the click icon…

I mean thats the best thing you can do, change them to labels