Hi,
I'm using object handles to allow me to drag an drop elements on the stage, can anyone tell me how I might make these objects snap to a grid, so that it can only ever have an x value of 0 10 20 30 40 50 60 70 etc
Cheers
Tim
drag and dropOTOMH, you could add a listener for the mouseMove event, and then round up or down on the object's x and y position.
No comments:
Post a Comment