HEALTHBAR Self.position.x issue

Hi All.
Im having an issue with the health bar. everything works and fine except the when i come to contrain the self.position.x .
I actually have my orientatioin as landscape left and I want the health bar to be top right corner of the screen however after I contrain the health bar actor self.position.x TO 10+(self.size.width /2) , then it moves it to top left corner of scene.
something small and i know it. any help would be appreciated.
cheers
Im having an issue with the health bar. everything works and fine except the when i come to contrain the self.position.x .
I actually have my orientatioin as landscape left and I want the health bar to be top right corner of the screen however after I contrain the health bar actor self.position.x TO 10+(self.size.width /2) , then it moves it to top left corner of scene.
something small and i know it. any help would be appreciated.
cheers
Comments
Kipper