
You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
Hi guys,
I know this is possible, but i cant figure it out. I want to click on a button to select it, and whilst it's selected, be able to move it on the Y axis. In this code example, i'm able to move it when the left button is held down, but that's regardless of it being selected or not. i.e. it moves whenever the left mouse button is held down, which is expected.
How do i go about moving the button only when it's selected?
Many Thanks,