I'm working on a colour wheel and colour UI for my game. So far, I've managed to get it working with PC, but it doesn't work for mobile.
Before, I used to use MouseButton1Down. Now that I want it working on both PC and mobile, I assigned both PC input and Mobile to a variable, but it didn't work, and the slider/wheel do not move. Can anyone help?
colorInput = colourWheel.MouseButton1Down or colourWheel.TouchLongPress
darkInput = darknessPicker.MouseButton1Down or darknessPicker.TouchLongPress
--Replace "colourWheel.MouseButton1Down" with colorInput
colorInput.MouseButton1Down:Connect(function()
buttonDown = true
end)
--Replace "darknessPicker.MouseButton1Down" with darkInput
darkInput.MouseButton1Down:Connect(function()
movingSlider = true
end)