Hello, i was just wondering how i could make a grid on my derma frame, so i can snap things into it?
Is there any sample code or anything?
All help is highly appreciated!
Thanks so much!
- UniqueGuy
Hello, i was just wondering how i could make a grid on my derma frame, so i can snap things into it?
Is there any sample code or anything?
All help is highly appreciated!
Thanks so much!
By snap do you mean snap other DFrames?
Since making the grid itself is pretty easy, I’m not sure we can help though; since whatever is snapping, it’s in your code, we can give you a general concept, such as:
posx - posx%grid_lines_distance
It would give you the position on the line of the gridinstead of the original position.