I hope the previous code works not sure how it returns the rgb, i cant find much source on sdl2's get_rgb or get_rgba..thanks again would like to use those functions but im not sure how to yet maybe someone has figured it out...any help is appreciated. If i can get the previous posted code to work then good enough for now.