Hey guys :) Im new here and this is my first post :P
Ok so im moving away from game maker 8.1 and trying construct 2 for a change and so far im loving the simplicity of it :)
So im currently testing functions and events in construct, however i need help with this.
Lets say i have a ball, and the ball's width is 50 pixels across. Now how can i find exactly where i clicked on this ball and save the x (which would be from 1 - 50) to a global varibale? So if lets say i clicked close to the middle it would record the x as being close to 25? and further to the left of the ball would be from 1-25.
Sorry if its confusing but for the game i am thinking about creating i need to implement this.
Thanks in advance!! :)