Capture can only be active while the mouse/touch is depressed.  What are you intending to do here?  Maybe you just want to remove the else clause entirely?