> For the complete documentation index, see [llms.txt](https://osl.mistium.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://osl.mistium.com/graphics-osl-window/rendering/draw-cursor/goto-x-y.md).

# goto x y

## Description

Goto moves the draw cursor to a certain position on the window

## Parameters

Goto takes an x and a y value for it to move the draw cursor to

## Usage

{% code overflow="wrap" %}

```javascript
goto 100 100

goto -100 -100

goto 0 0
// 0 0 is centered on the window


goto window.left window.top
change 20 -20
// can also be used in conjunction with the window object to anchor elements to specific sides of the window
```

{% endcode %}

[Broken mention](broken://pages/cmz8bxQBQllOgjBjNCli)
