Skip to content
Narta Xaymar Dirks edited this page Oct 28, 2026 · 5 revisions

Blitz3DBlitzBasic

Locate

Locate:Void x:Int32, y:Int32
Parameter Mode Type Default Description
x In Int32 required Horizontal position of the cursor in pixels.
y In Int32 required Vertical position of the cursor in pixels.

Description

Moves the text cursor of Print and Write to a position in pixels. The position is on the screen and not in the current buffer.

Differences

  • The position is limited to the window.

Examples

Graphics 320, 240, 0, 2
Cls
Locate 20, 20
Print "Top left"
Locate 160, 120
Print "Middle"
Locate 100, 220
Print "Bottom"
WaitKey

Media

Locate

Related Commands

Input, LoadFont, Print, SetFont

Home · Command Index



Differences
Language Features
BlitzBasic
Blitz3D
BlitzPlus

Clone this wiki locally