bloodbarron115 Posted April 15, 2015 Share Posted April 15, 2015 How would I make an event occur when I drag and drop an object onto another object? Link to comment Share on other sites More sharing options...
ForgeableSum Posted April 15, 2015 Share Posted April 15, 2015 Simple. Add a 'onDragStop' to the object being dragged. Then check for collisions/intersects/contains/overlaps depending on what the object type is. If these are not physics-enabled objects, you might need to loop through a group of these objects and check which one the dragged object overlaps with. Link to comment Share on other sites More sharing options...
Recommended Posts