Hi all .. is wish i can find a solution here
i'm doing a game for kids that drag and drop item to mix and match but i tried to add spinner around the objects by different ways but i found nothing, i tried to link "Fabric.js" but i failed.. is there any way to add that rectangle on the item once i select it or tap on it ??( shown in photo attached )
Create a rectangle sprite, when an object is selected, send it's UID to a global value.
Global value =/= 0, pick the object by UID, set the rectangle sprite position to that object and then resize the height/width and angle.
Develop games in your browser. Powerful, performant & highly capable.
Please don't post the same thread multiple times. A similar thread was also posted here so closing this one.