Handle button being press
How can I detect if a handle button is being pressed?
The example below returns me true when the button is clicked:
if (Handles.Button(currentPos, Quaternion.identity, handleScale, handleScale, CapDotSelected)) //Button clicked!
{
Debug.Log("testt");
}
But I want to know if there's a way to detect if the button is being pressed (i.e when the user holds the mouse or finger)
Comment
Your answer
![](https://koobas.hobune.stream/wayback/20220612094126im_/https://answers.unity.com/themes/thub/images/avi.jpg)