Skip to content

raylib.DrawPixelV

JoeStrout edited this page Apr 29, 2026 · 2 revisions

Draw a pixel (Vector version)

Parameters

Parameter Default Value Note
position [0, 0]
color WHITE

Return value

None.

Notes

Example

// Draw a pixel at a position stored as a Vector2
pos = [100, 150]
raylib.DrawPixelV pos, raylib.YELLOW

Clone this wiki locally