iframeGoto
Last updated
⚠️ Not implemented in the current OSL CLI.
iframeGoto moves an iframe to a position on screen, in the same coordinate space as the draw cursor. Pair it with .iframeResize() to lay the embed out.
x: the horizontal position to move the iframe to.
y: the vertical position to move the iframe to.
frame = "https://example.com".iframeNew()
frame.iframeGoto(100, 50)
// positions the top-left of the iframe at (100, 50)Last updated