seether @seether

Currently trying to find a way to get an embedded iframe in TurboWarp to be able to interact with the project.

Any ideas? Clipboard did not work and someone recommended using WebSockets which I’ve not tried yet.

Jun 27, 2024, 8:48 PM
4

comments

you could maybe add a <script> tag inside the iframe that connects to the cloud variables in the turbowarp project

or create a <div> inside the iframe with the id as “something-random” and then also add a <script> tag and inside the script tag add

document.getElementById("something-random").parentElement.parentElement;

to return the project div

What do you mean the project div?

The div that all the sprites (and iframes) are in. I don’t know if it would work though because I don’t know how scratch-vm works.