This should be a basic function of any of the traces. just break the hit result open and use the hit component pin (last blue in that list) to control your logic flow.