theatre/packages/browser-bundles/test.html

12 lines
314 B
HTML
Raw Permalink Normal View History

2021-09-30 21:58:22 +02:00
<script src="./dist/core-and-studio.js"></script>
<script>
const {core} = Theatre
const studio = Theatre.studio
studio.initialize()
const project = core.getProject('My project')
const sheet = project.sheet('My sheet')
const obj = sheet.object('Box', {x: 0, y: 0})
console.log(obj.value.x)
</script>