I want to do different actions while a button is clicked, held and when it's released.
If anyone could give me a piece of code for that I would appreciate it.
Following to do:
When the button is clicked, function "start" is called and camera starts moving.
While it is clicked, nothing happens (= camera is still moving).
When button is released, function "stop" is called and camera stops.
How can I realize this ?
I played with GetState() but this seems to be the wrong way...?
Please tell me if the points aren't enough.
(unfortunately, this is the profile of my friend and he has just 65 left)