UNPKG

@typed-tabletop-simulator/lib

Version:
16 lines (15 loc) 442 B
"use strict"; 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;