paobrasil - Problems?
Well, your condition X RIGHT FRAME = 960 will run every game loop, rather than just at the start (unnecessary IMHO). As for the position, it depends where your Hot Spot is on (Your Object), eg top left, centre, etc. If it's top left then part of it will be off the left of the screen by setting it to -50. DistantJ's example using X Right Frame - 50 is to make sure that HUD elements on the right side of the screen aren't clipped.