i’m a rookie-experienced flasher and read the draggable menu pt 1 to do the sliding menu and i got stuck in step ix… am i supposed to be able to make the dragger follow the mouse when clicked (not held) cos’ my dragger only moves when i hold the mouse button… please help!
Since trip is undefined upon creation of the button it is not equal to true. So the first time the button is pressed it sees that trip is not true, sets dragging to 1 and sets trip to true. Then the second time the button is pressed it sees that trip is true, sets dragging to 0 and sets trip to false.