Function getDraggedVariableId