I
idunno
Guest
Hello!
How can I keep cursor inside an object?
For example, I have a volume slider and I want to keep cursor inside it until mb_left is released.
I'm also going to hide the cursor and change a sprite of the slider.
But first i want to figure out how to keep the cursor inside the slider when mb_left is down.
I tried to figure this out by myself and with help of google but still couldn't do it as I just started practicing GM.
It can be done with clamp, right?
Thanks for help!
ps. keep it simple, im newbie
How can I keep cursor inside an object?
For example, I have a volume slider and I want to keep cursor inside it until mb_left is released.
I'm also going to hide the cursor and change a sprite of the slider.
But first i want to figure out how to keep the cursor inside the slider when mb_left is down.
I tried to figure this out by myself and with help of google but still couldn't do it as I just started practicing GM.
It can be done with clamp, right?
Thanks for help!
ps. keep it simple, im newbie