Center a dropped object on a grid

Anything beyond the basics in using the LiveCode language. Share your handlers, functions and magic here.

Moderators: Klaus, FourthWorld, heatherlaine, robinmiller, kevinmiller

Posts: 219
Joined: Wed Jun 21, 2006 7:33 pm
Location: West of the Pecos

Re: Center a dropped object on a grid

Post by rumplestiltskin » Tue Mar 13, 2018 7:52 pm


I altered your solution just a bit to return the ID of the graphic rather than a name. I now don't have to worry about naming the graphics as the ID is, of course, unique. It's also very fast.

Post Reply

Return to “Talking LiveCode”