How to keep From dragging multiple actors at once

Hello all!
I'm currently working on a game and I've run into a bit of a hiccup. I have these actors that spawn replicas of themselves whenever you tap on a certain button. These actors are drag and drops that can be placed wherever on the scene. The problem is that I want to handle a case where I place two of the actors really close to each other. They are all squares. For example I want to be able to place these squares really close to each other or even overlapping without it stacking whenever I try to drag it again.

I am currently using contrain attributes for the dragging and dropping of these square objects. But as I said, I need a way so that I can only drag and drop (select) 1 of these squares at a time without it affecting any other squares.

Comments

Sign In or Register to comment.