Position gameobjects based on canvas size

Hi!
Is there a way in Phaser 3 to re-position game objects on window resize? (I think another way than manually recalculate all positions and set it)

For example:
I have FPS label exactly 5px from right edge of canvas and score label at middle of canvas. How to re-position FPS to stay at center, and score label to be 5px from right edge of canvas (of new width)?
Note: In my example, there are “two” types of re-position (based on proportional position [keep score in middle] and based on position relative to something [keep score 5pc from right edge]).

Thanks!

If you’re using scale mode RESIZE or NONE then no, Phaser doesn’t do any repositioning.

there is also a very good plugin made by rex https://rexrainbow.github.io/phaser3-rex-notes/docs/site/anchor/ which places objects based on window size