For the complete documentation index, see llms.txt. This page is also available as Markdown.

iframeGoto

⚠️ Not implemented in the current OSL CLI.

Description

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.

Parameters

  • x: the horizontal position to move the iframe to.

  • y: the vertical position to move the iframe to.

Usage

frame = "https://example.com".iframeNew()

frame.iframeGoto(100, 50)
// positions the top-left of the iframe at (100, 50)

Last updated