Android Drag & Drop

I’m implementing a drag and drop system with my program.

Very basic… I’m currently just using the EventSystem drag handler.

public void OnDrag(PointerEventData data)
    {
        transform.position = data.position;
    }

This works great with a mouse. On my android tablet it… works… kinda. It responds, but the movement is very jerky. Is there an alternative implementation specific to Android touchscreen that I should be looking at? Thanks.

Sorry for the late answer but OnMouseDrag() works with a mobile drag as well:

void OnMouseDrag()
    {
        Vector3 mousePosition = new Vector3(Input.mousePosition.x, Input.mousePosition.y, distance);
        Vector3 objPosition = Camera.main.ScreenToWorldPoint(mousePosition);

        transform.position = objPosition;
    }