Scrolling Frame captures mouse input, Causing color picker to stop working

I highly apologize for the indescriptive title and for the extremely specific issue that I’m having.

I’m making a GUI library for fun. It’s going to be used as a settings thing for my friend’s game. The UI Library consists of a window frame, within that is a section and within that are all the actual objects like a dropdown a button, etc. For some reason when I change the window frame (Which everything is nested in) to a scrolling frame the color picker completely stops working as if the scrolling frame is capturing the click. If I move my mouse outside of the frame, click and drag it into the color picker THEN it actually functions. Is there any way to fix this?

Here’s a screenshot of how the color picker functions.

Here’s a screenshot of the Explorer.

I have searched for a solution all over the dev forum

Again I apologize if this is such a random question this is my first time posting on the dev forum, I’ve been trying to fix this for over a week and I’m getting a bit desperate now…

Try changing the last 3 calls, to this:

script.Parent.MouseMoved:Connect(updateRGB)

script.Parent.InputBegan:Connect(function(Input)
	if Input.UserInputType == Enum.UserInputType.MouseButton1 then
		mouse1down = true
	end
end)
script.Parent.InputEnded:Connect(function(Input)
	if Input.UserInputType == Enum.UserInputType.MouseButton1 then
		mouse1down = false
	end
end)
1 Like

I was actually thinking of trying something similar to this but I doubted it would work.

This worked! Thank you so much, marking as Solution.