Is it possible to snap a draggable object to each other?

Jul 28, 2021

Hello AS Team.

I want to make a props for my math class called Algebra Tiles.

It will provide a student with an object (square and rectangle) that can be dragged and placed on a board to make a bigger square or rectangle. Is it possible to make the draggable object to snap to each other?

You can check the live demo in here : https://jmd.web.id/algebra-tiles/

PS : I already tried to make an invisible target for the object but it didn't works since the object size isn't the same.

Looking forward for your reply.

Be the first to reply