How to limit Inbound/Release events to the control that was initially pressed
Is there a way to limit inbound/release events to the control that was initially pressed? For example, if you press button_1 and move your finger off of it, the button should go to an up-state, and if you move back to it and release, button_1's action should still be triggered. If you move to button_2 from button_1, however, button_2's action should not be triggered.
Currently, the best way to achieve this functionality is by setting a boolean for is_pressed on a press event and checking that boolean on any other events for buttons that you don't want to trigger. Keep in mind that you will have to reset the boolean on a release event, which may not be triggered from the control that registered the press event. For this reason, it may be best to have a universal release event on the layer or screen and reset the booleans for all affected buttons.
This situation has been asked about a few times, but may not always be the desired user flow. For instance, if you have a keyboard, the user may press the wrong key and want to adjust their choice while their finger is still on the screen.
That said, if there is enough demand for an easier way to accomplish the functionality described in the user question, it may be worth considering adding some sort of boolean option directly to the controls or events in Storyboard. If this is functionality you see yourself requiring often, please leave a comment to voice your interest to increase the likelihood that it will be added to a future version of Storyboard.