I have been trying to get the highest pixel on a specific part of an image that isn\'t transparent. Here is what I tried, but I\'m not sure why it doesn\'t work: