grab mask extension from pygg2 because its what i plan to use for collisions