Quantcast
Channel: Questions in topic: "gun"
Viewing all articles
Browse latest Browse all 592

How to check for a mouse drag

$
0
0
I have a mouse orbit script, and also a script that shoots when the left mouse button is clicked. However, whenever I drag, the gun also shoots. How can I check to see if the mouse button has been dragged, and only fire the gun when this is **false**?

Viewing all articles
Browse latest Browse all 592

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>