Get colour of a specific point on a part

Let’s say I cast a ray in the direction of a part with a texture. When the ray hits, can I get the color of that specific hit point?

PS:
Specifically, a hit point on a player avatar—if that makes any difference, since they have a different texture format

No.

(At least not to my knowledge)

1 Like

nope.
Maybe with editableimage but idk since I’m not id verified.

1 Like

Pretty sure u can’t, unless you predefine the colors on the part and approximate the color through that

1 Like

This would be possible in theory using raycasting and EditableImage. You would have to get the relative offset that the raycast hits the part at, load the texture of the face on the part that it hit into an EditableImage, then figure out the offset into the image buffer to read the exact pixel color at that location.

2 Likes