import { StylusEntity } from "../../Stylus/Entity/StylusEntity";
import { DragLabelDropWorldUC } from "../UseCases/DragLabelDropWorldUC";
export function releaseLabelDropAnswerItemWorld(appObjects) {
    const uc = DragLabelDropWorldUC.get(appObjects);
    if (!uc) {
        appObjects.submitError("releaseLabelDropAnswerItem", "Unable to find DragLabelDropWorldUC");
        return;
    }
    const stylus = StylusEntity.get(appObjects);
    if (!stylus) {
        appObjects.submitError("releaseLabelDropAnswerItem", "Unable to find StylusEntity");
        return;
    }
    uc.releaseDrag(stylus.pickRay);
}
//# sourceMappingURL=releaseLabelDropAnswerItemWorld.js.map