Having trouble with moving multiple objects with the grid using a drag and drop with the mouse method. I know to move an object relative with the mouse is XMouse/GridWidth*GridWidth and YMouse/GridHeight*GridHeight. However if I do this to all the objects within the same "group" they will all get put in the same position so they're all overlapping. I'd like the objects to move relative to where they were if possible.
Sometimes object selection is wacky because MMF has no way of knowing what you're trying to accomplish.
I assume you're just applying the formula to the group by referencing the groups X and Y position in the formula itself correct? I think this issues lies in the fact that it's referencing not only different instances of the same object, but also separate objects altogether. If that makes any sense to you.
Try storing the X and Y positions of all the objects in the group into their respective alterable variables and then apply the formula again but use the variables instead of referencing the objects position directly.
This should work. If it doesn't then try instead to store the positions of all the objects in the group individually into their alterable values before applying the formula to the group.
Either it's not working or I'm not following correctly.
I tried storing all the objects X and Y within said group into Alterable Value's A and B, respectively. Then Setting their X with the formula and using the Alterable Values. This doesn't work because I need to include the mouse's position somewhere.