//function for letting go of a vertex
    public void letGo()
    {
        if (!currentRigidBody)
        {
            return;
        }
        else
        {
            if (!currentGameObject.active)
            {
                //don't bother letting go if currentRigidBody is already been deactivated (aka removed)
                return;
            }
            else
            {
                currentGameObject.transform.parent = currentVertexManager.getBaseLineParent();
                currentVertexManager.setIsSelected(false);

                Vector3 yToSnap = snap();
                currentVertexManager.moveTo(yToSnap);
                currentVertexManager.onPutDown();
                resetVariables();
            }
        }
    }