This example is based on the following linked example:
Moving Front Panel Controls/Indicators With Mouse While VI Is Running
Description:
In addition to allowing the control to be moved, this example compares the bounding box positions of two different objects and changes a boolean value when the bounding box of the smaller object is completely within the bounding box of the larger object.
In this case, an LED indicator becomes active when a paper ball is placed within a trash can. The paper ball and trash can are a custom boolean control and picture ring, respectively.
Instructions: