you need to store the tap gesture on a variable like value 0
and when tap gesture happens turn that value to 1 lets say.
and on the drag&drop thing add if variable is 0 drag enable.
if 1 disable drag&drop
tap gesture needs to happen in a sequence for this to work like click/release at a certain speed. it might work weird though on PC. but mobile should work properly.
you also need another condition for tap to check if drag&drop is enable ... so the rotation to 90 degrees doesn't happen.. once you finish drag&drop.