Question by
abourzach · Sep 15, 2017 at 11:31 PM ·
click and draggolfpower
How do I use click and drag to change the power of my object
Hi, I'm making a golf game like the game Golf With your Friends, at the moment I have it where there an arrow that points where you're shooting, you use 'w' and 's' to change the power and then click to shoot. I want to make it like how Golf With Your Friends is where you left click drag forward and when you release it shoots. Could someone help me with this?
Comment
Your answer
![](https://koobas.hobune.stream/wayback/20220612134934im_/https://answers.unity.com/themes/thub/images/avi.jpg)