how to pick up value when click a mouse button?