Drag and Drop Script not working

Hi, I am trying to design a script for drag and dropping an object, this is what I have so far, ignore the random commented code, those are things I tried and might go back to later, anyway, it sorta works but the issue is it sends the object WAY away, completely out of view. If some one could tell me why that is that would be wonderful! Here’s what I have so far,

var drag : GameObject;
//var Vector2 mousePosition = new Vector2(Input.mousePosition.x, Input.mousePosition.y);
//var mousePosition : Vector2;
private var mousex : float;
private var mousey : float;

function Start () {


function Update () {

	 mousex = Input.mousePosition.x;
	 mousey = Input.mousePosition.y;

function OnMouseDrag () {

	//transform.drag.position = Vector2(Input.mousePosition.x, Input.mousePosition.y);
	drag.transform.position = Vector2(Input.mousePosition.x, Input.mousePosition.y);

Thanks for any help!

Input.mousePos is pixel coords, transform.pos is World coords;