Reseting positions of gameobjects in a Grid layout group

I am using Unity 2021.3.3f1 Personal. I made two panels with a Grid layout group adde. Each with 3 rows and 4 columns starting at the top left. In the game, some gameobjects are now to be dragged from grid A to grid B using drag and drop. Everything works perfectly. Unfortunately only once!

After a round has been completed, all gameobjects are to be reset to their original positions. Without definign pnales as Grid layout groups the reseting works fine with transform.position But using Grid layout groups all gameobjects are stacked in a corner of the panel.

Do you have a solution or advice on how to proceed?

Many thanks for your help

You probably need to set up your grid layout component so all children are positioned exactly as you want.
Share some screens/scripts so we can help you.

If you’re talking about GridLayoutGroup then know that it’s a UI feature, not a 2D feature.

I’ll move your post to the UI forum.