mylingo3d
Version:
Lingo3D is a React/Vue 3d game development framework that ships with a complete visual editor
8 lines • 361 B
JavaScript
import store from "@lincode/reactivity";
import { getSelectionLocked } from "./useSelectionLocked";
const [_setSelectionTarget, getSelectionTarget] = store(undefined);
export { getSelectionTarget };
export const setSelectionTarget = (target) => {
!getSelectionLocked() && _setSelectionTarget(target);
};
//# sourceMappingURL=useSelectionTarget.js.map