Issue with Custom Paddle Drawings

Hey all,

I am trying to make a custom paddle that a ball will bounce off of. The catch is that the user will draw the paddle themselves by touching the screen and dragging for size. I have this mostly working except that when I do this the prefab's X or Y scale is increased and the point where the user touched first becomes the center of the paddle instead of the edge.

Example:

X = Where i Touch& Release

   X------X - This is what i want  

---X---   X - This is what i get.

Is there anyway to calculate the offset each time ?

Thanks!

Try sticking the actual paddle inside of an empty GameObject and resizing the paddle on creation by grabbing it as a child of the GameObject.