How to detect mouse button down or up

I want to make a drag click select system for my game. However, when I use UserInputService, the most specific type of mouse click is MouseButton1, which neither lets me detect a mousebutton down or up.

2 Likes

I believe you have to do InputBegan for mouse button 1

local Mouse = game.Players.LocalPlayer:GetMouse()

Mouse.Button1Up:Connect(function()
--function here
end)

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