Hello lovely people of the Construct 2 forum!

I'm fairly new around these parts, and have just started developing my dream game which I am confident (and I hope not unduly) will be amazingly fun to play when I finish it. Think Sonic the Hedgehog meets Fez.

Anyway, other than some basic experience with GameMaker when I was a young teenager programming is utterly alien to me, although having just completed a masters in philosophy I'd hope to think that solving logical problems is not. With that in mind I hope somebody out there can help me with the following problem:

Basically I have a ball rolling on top of various sloped surfaces, all of which are physics objects. If the ball is BALL1 and the slope sprite which BALL1 is rolling on at this particular moment in time is SLOPE1, I need to figure out a way of determining the x,y co-ordinates of the bit of SLOPE1 which is closest to BALL1. i.e How do I figure out the position of the bit of the slope which the ball is currently touching? I'd love to go into more detail about why I need to know this but as somebody who is completely new to game development I'm still not familiar with how much of my 'concept' I should be making public and how much I should be keeping under wraps. The reason I need to know this is for a fairly integral gameplay mechanic after.

Anyway, sorry I haven't given you much to go on in terms of letting you in on the actual end-result problem I need solving, but I'm confident that if anybody can help me with this specific mathematical/logical problem I'll be able to get the game to do what I need it to. I would treat whoever showed me the light with regard to this problem as I would somebody who had pledged me 1000 on Kickstarter. Really, without being able to figure this out I can't progress with development on my game. I will be eternally grateful to whoever can give me some guidance here!

Thank you so much!

PantuTheDog