when you pick up some object you either reparent it to the Marker2D you mentioned or you set that object position to the Marker2D position in the physics process function
How to implement the pick up and throw objects in 2d platformer?
when you pick up some object you either reparent it to the Marker2D you mentioned or you set that object position to the Marker2D position in the physics process function