- Edited
Hi, so for context I have a horizontal slider I'm using for a simple timeline. I change the value on _Process so increments over time, but the player can also drag it to "rewind".
I'm running a function on the ValueChanged method and I need know if the value was changed from the _Process script or by the player, and I don't know how. I tried using the MouseEntered and MouseExited methods, but they're not reliable because you can drag a slider without actually having your mouse on it (if you start dragging and then move your mouse away).
Any ideas? I'm guessing a more complex input check - check for mouse click on slider, then block the _Process script until mouse is released?
Thanks