Those two things are mutually exclusive. How would the light know what you wanted it to do?