Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
COMMUNITY QUESTION

ImageButton.Activated fires through images and frames?

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

ImageButton.Activated:Connect(function()
	if not frame.Visible then -- Check if the frame is visible or not
		-- code
	end
end)

This discussion is preserved as it was. New answers, comments, and votes are closed.