# I can't drag nodes into a folder in the subject hierarchy

**URL:** https://discourse.slicer.org/t/i-cant-drag-nodes-into-a-folder-in-the-subject-hierarchy/33313
**Category:** Support
**Tags:** subject-hierarchy, gui
**Created:** [December 9, 2023, 12:24pm UTC](https://discourse.slicer.org/t/i-cant-drag-nodes-into-a-folder-in-the-subject-hierarchy/33313 "2023-12-09T12:24:11Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![jashrand](https://avatars.discourse-cdn.com/v4/letter/j/f17d59/32.png) [@jashrand](https://discourse.slicer.org/u/jashrand)
#### Post date: [December 9, 2023, 12:24pm UTC](https://discourse.slicer.org/t/i-cant-drag-nodes-into-a-folder-in-the-subject-hierarchy/33313/1 "2023-12-09T12:24:11Z")

</div>

I’m sure this is a silly question, but I can’t click-and-drag nodes in the subject hierarchy to put them into a folder. I’m using a Macbook with a normal touchpad, no external mouse or anything. Every time I click and drag a file it just highlights everything the mouse goes over, as though I were holding down the shift key to select multiple files.

See the attached video. All I’m trying to do is click-and-drag a single node into the folder in the subject hierarchy.

There doesn’t seem to be a cut/paste option either, so I have no idea how to move the nodes. Does anyone know how to do this?

Thanks!

---

<div class="post-metadata">

### Author: ![pieper](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/pieper/32/8_2.png) [@pieper](https://discourse.slicer.org/u/pieper)
#### Post date: [December 9, 2023, 2:50pm UTC](https://discourse.slicer.org/t/i-cant-drag-nodes-into-a-folder-in-the-subject-hierarchy/33313/2 "2023-12-09T14:50:13Z")

</div>

Hmm, don’t know. Dragging nodes into folders in the subject hierarchy works for me on a mac trackpad (mac book air M2)

---

<div class="post-metadata">

### Author: ![cpinter](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/cpinter/32/7995_2.png) [@cpinter](https://discourse.slicer.org/u/cpinter)
#### Post date: [December 11, 2023, 1:01pm UTC](https://discourse.slicer.org/t/i-cant-drag-nodes-into-a-folder-in-the-subject-hierarchy/33313/3 "2023-12-11T13:01:43Z")

</div>

Can you paste this in the Python console:

```auto
dmw = slicer.modules.data.widgetRepresentation()
shtvs = findChildren(dmw, className='qMRMLSubjectHierarchyTreeView')
shtv = shtvs[0]
print(shtv.dragEnabled)

```

If it gives False, try `shtv.dragEnabled = True` and see what happens.
