• Hey Guest! Ever feel like entering a Game Jam, but the time limit is always too much pressure? We get it... You lead a hectic life and dedicating 3 whole days to make a game just doesn't work for you! So, why not enter the GMC SLOW JAM? Take your time! Kick back and make your game over 4 months! Interested? Then just click here!

GameMaker Having right mouse offset for surface_getpixel

kerim

Member
Hello,
i'm using an surface and i do want to get any color from where i tap on the surface, but it doesn't work with pure mouse_x and mouse_y because surface_getpixel gets the color from called x,y inside of surface.
my surface is drawed at 960,256 and width: 768, height: 192

thanks for any help
 
Top