How i can attaching object to pixel when it drags.
And i want to show line when its drag to know if the drag object is align to other object or to main object.
Is this just normal attaching? Or Physics attaching?
soory
normal drag
There is a snapToPixel setting... but I think it is true by default. It is createjs.
Here is a prototype of aligning objects... not sure if there is a better way. You would need to do all the edges and adjust of the red rectangle is on the right of the target.