Skip to content

GetColor

Narta Xaymar Dirks edited this page Nov 25, 2026 · 7 revisions

GetColor BlitzBasic

GetColor:Void x:Int32, y:Int32
Parameter Mode Type Default Description
x In Int32 required Horizontal position of the pixel.
y In Int32 required Vertical position of the pixel.

Description

Reads the pixel at a position of the current buffer and makes it the drawing color. Use ColorRed, ColorGreen and ColorBlue afterwards to see what it was.

Related Commands

ClsColor BlitzBasic, Color BlitzBasic, ColorBlue BlitzBasic, ColorGreen BlitzBasic, ColorRed BlitzBasic

Home · Command Index


Getting started

Language

Tools


Language Features
BlitzBasic
Blitz3D
BlitzPlus
Differences

More

Clone this wiki locally