Using Joystick and Skin Slider at the same time

Greetings!
I’m working on the ipad/iphone and have joysticks assigned to move the character across the screen. Then I have a slider skin that I would like to access while I’m moving my character. The slider won’t move if the joysticks are being used, but when the character is not moving, the slider works great. The slider info is just in a .js file though, and I don’t know how to check whether the slider is being access at the same time as the joystick.

Any suggestions?

Hi, welcome to the forum!

If the slider is the only GUI control, you could detect its value changing using GUI.changed. If there are other controls, it is probably easiest just to store the value of the slider in a script variable each frame. You can then compare the new value to the value from the previous frame and see if they are different.