Read pixels

Read the values of pixels on the screen.

Authors and contributors to this community extension: Bouh.


This extension allow to read pixels on screen.

Expression Argument Type returned
ReadPixelRed(x, y) position x: number, position y: number number (0-255)
ReadPixelGreen(x, y) position x: number, position y: number number (0-255)
ReadPixelBlue(x, y) position x: number, position y: number number (0-255)
ReadPixelAlpha(x, y) position x: number, position y: number number (0-255)

This page is an auto-generated reference page about the Read pixels extension, made by the community of GDevelop, the open-source, cross-platform game engine designed for everyone. Learn more about all GDevelop community-made extensions here.