Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
1

ImageButton.Activated fires through images and frames?

Asked by 1 year ago

So The ImageButton.Activated event

basically I have another frame ontop of that

I don't want it to fire when a frame is ontop of it

I dont want to get rid of it either

what can I do?

1 answer

Log in to vote
0
Answered by 1 year ago
ImageButton.Activated:Connect(function()
    if not frame.Visible then -- Check if the frame is visible or not
        -- code
    end
end)
Ad

Answer this question