How do you tell it during the button is held down do this, and when you let go of the button do this? Thanks so much