Getting the Color of a Pixel in a Decal or Texture

Hey everyone,
How would I be able to find the color of a certain point of a decal or texture? I already have some ideas, but they are terribly slow for virtually every use case possible. Please let me know if there are any built-in APIs in Roblox to do this.

One idea I already have is to send the texture ID and pixel coordinates to a webserver that decodes the .png of the Roblox thumbnail, then it sends back the color of the pixel. I’ve already tried this, but it is certainly not quick and not reliable in the long run.

I just need some sort of service or in-game accessible API for a faster experience. Thanks!

1 Like

No way to do this with in-game scripts using the built-in scripting APIs. You’ll need to use an external web API.

1 Like

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.