- What do you want to achieve? Keep it simple and clear!
Make gun not fire when moving the screen on mobile.
- What is the issue? Include screenshots / videos if possible!
The “Button1Down” event doesn’t recognize dragging.
- What solutions have you tried so far? Did you look for solutions on the Developer Hub?
Code for firing:
Mouse.Button1Down:Connect(function() MainModule.ButtonDown(Settings, Clone, Character, Mouse, Camera ) -- this has a module that sets "MouseDown" to true end) Mouse.Button1Up:Connect(function() MainModule["MouseDown"] = false end)