Image Buttons Cant do MouseButton1Click

so i want to detect if i click a image button
i am wondering if there are other solutions for this

local tb = imagebuttonlocation -- this is image button
local function whenclicked()

	print("work")

end

tb.MouseButton1Click:Connect(whenclicked) -- like this but it doesnt work

.MouseButton1Click it does work normally. I just tested it (I didnt know cause I always use .Activated instead) Perhaps is a different issue

I just checked, and i think its a different issue thanks :pray:

1 Like

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