how to change the b2Body position in resize event?

I created a wall using b2Body, and want to update the wall position to make it adapted to the window's resize event, so how to set the new position in the resize event handler?


thanks in advance

Original thread: https://box2d.org/forum/viewtopic.php?t=4077