what I need is the change of items in certain points in a room. For example, in the determined x, y, z coordinates in the upper left corner, the closet will be the bed in the next scene. How can I achieve this with python.
Edit: I tried the code and the items take each other's positions, but there is a problem that some objects are buried because they are different in height.
Edit 2 : Based on your comments, I have progressed a lot. There will be 10 objects in my collection and there will be only 5 objects in the room. I want these items to change constantly, the locations will be the same, the items will change.