I don’t think it’s possible without using scripting. I know of a few methods to fix your problem.
The easiest one would just be make the buttons invisible when the frame is activated. Another way to do this if you want to keep the frames visible is to keep a table of bools which has the values of which buttons can be clicked or not.
local buttons = {
'Shop' = true;
'Exit' = true;
}
shopButton.MouseButton1Click:Connect(function()
if buttons['Shop'] then
-- tween frame and make it so the other buttons are set to false in the table
end
end)
Another method could be using connections and just disconnecting them and you could also detect if a frame is in bounds of a certain button and then have that button disconnected and then if the frame is closed reconnect it.
I see… I had that in my mind yesterday but I didn’t know how to do that exactly. I guess making a table would be best and good for me because I have little experience with tables so far.
Well, thank you, I appreciate it. For some reason, I thought there was a simple property or setting I didn’t see, well it was around 4 AM when I posted this, I surely didn’t think straight…
Anyone who also has the same problem as me would hopefully find this answer and solve his/her problem.