Skip to content

HidePointer

Narta Xaymar Dirks edited this page Oct 29, 2026 · 8 revisions

Blitz3DBlitzPlusBlitzBasic

HidePointer

HidePointer:Void

Description

Hides the mouse pointer while it is over the window. Programs that draw their own pointer or look around with the mouse use this. The pointer is shown again by ShowPointer.

Differences

  • BlitzPlus lets the pointer be hidden per canvas; here the canvas is accepted and ignored, as there is only one window pointer.

Examples

Graphics 320, 240, 0, 2
SetBuffer BackBuffer()
HidePointer
While Not KeyHit(1)
	Cls
	Color 255, 255, 255
	Text 10, 10, "Own pointer, Escape ends"
	Oval MouseX() - 4, MouseY() - 4, 8, 8, 1
	Flip
Wend
ShowPointer

Related Commands

GraphicsPalette, GraphicsWidth, PrimaryDisplay 〔BlitzLLVM〕, ShowPointer

Home · Command Index



Differences
Language Features
BlitzBasic
Blitz3D
BlitzPlus

Clone this wiki locally