Garry's Mod Wiki

GWEN.TextureColor

  Color GWEN.TextureColor( number x, number y )

Description

Retrieves the color from a materials texture at the provided UV coordinates

Arguments

1 number x
X position of the pixel to get the color from.
2 number y
Y position of the pixel to get the color from.

Returns

1 Color
The color of the point on the skin.