@typed-tabletop-simulator/lib
Version:
Library with some helping modules for working with Tabletop Simulator
16 lines (15 loc) • 442 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.spawnObject = void 0;
const spawnObject = (data, options) => new Promise((resolve) => {
spawnObjectData({
data: data,
position: options?.position,
rotation: options?.rotation,
scale: options?.scale,
callback_function: (obj) => {
resolve(obj);
},
});
});
exports.spawnObject = spawnObject;