How to get the node-red and drag the event of the node

I want to get the node-red and drag the event of the node.
such as:
There are some nodes that can be dragged to the workspace, and some nodes are forbidden to drag to the workspace.
Do not know how to judge?
Request help

Hi @limengsong

the editor does not provide any way to control which nodes can be dragged from the palette.

Please can you describe what you are trying to do in more detail?