Disable plotly_selected event from getting fired for few traces in a plot?

Hello all,

I am using ‘plotly_selected’ event on one of my plots with multiple traces, but I want to disable this event from getting fired when the user drags on certain traces which I know. So how can I achieve this?

Any help is greatly appreciated. Thanks!