ImageButton/TextButton's trigger event disable when there is a UIDragDetector child

You can write your topic however you want, but you need to answer these questions:

  1. What do you want to achieve? Keep it simple and clear!
  • I want to use MouseButton2Click of ImageButton combined with UIDragDetector for dragging.
  1. What is the issue? Include screenshots / videos if possible!
  • Drag works but it doesn’t send event or block input.
  1. What solutions have you tried so far? Did you look for solutions on the Developer Hub?
  • None

image

script.Parent.Activated:Connect(function()
	print('help!')
end)
script.Parent.MouseButton2Click:Connect(function()
	print('help!')
end)

I think something is being overwritten with the UI drag and the right click function.

If i were you, i wouldnt use UI drag detector as its only meant for use in studio.