Skip to content

raylib.DrawPixel

JoeStrout edited this page Apr 29, 2026 · 2 revisions

Draw a pixel

Parameters

Parameter Default Value Note
posX 0
posY 0
color WHITE

Return value

None.

Notes

Example

// Draw a single red pixel at position (100, 150)
raylib.DrawPixel 100, 150, raylib.RED

Clone this wiki locally