Using relative position for objects or overwriting the setter and getter

Hello, Is it possible to give relative position to phaser objects ?
For example

this.add.image(0.5, 0.5, ‘Player’)

Should create the image centered at the screen.
If not, lets say I make a class that extends Phaser Image, how can I overwrite its setter and getter to get this functionality?, overwriting setX will not work for tween animations and overwriting set x will cause infinite loop, any help is much appreciated.
Thank you.

Here is a 3rd party plugins for this purpose. (Demo)

Thank you! I didn’t know about this plugin. Can you also suggest a solution where I can overwrite the default functionality of x and y properties for GameObjects? After trying the plugin, I still lean more towards making my own Object class. Especially after trying the available Phaser classes, I decided to inherit from the container class which supports child and parent. It would be great if I could make its x and y values relative by overriding them.

It is not recommended that overriding x, y properties, they will be used in rendering, or touch input.

You would have to create new properties (e.g., X and Y) for this. Phaser still needs x and y in pixel units.