That one works perfect:
x = FP.world.getInstance("playerx").x;
Also that one works perfect too:
x = FP.world.getInstance("playerx").x + 20;
But when i use this:
x = FP.world.getInstance("playerx").x + FP.world.getInstance("playerx").halfWidth;
it returns the same value with this one:
x = FP.world.getInstance("playerx").x