How to deactivate/activate dragging functionality? Is there any kind of flag or method? Can't find it.