Change position not working

Alright, so I have the following rule in several actors

If device.screen size.height = 568
Change attribute self.position.y to self.position.y - 41

However, when I change from iPhone Legacy to iPhone 5, they don't move. Anyone have any ideas?

Comments

  • KevinCrossKevinCross London, UKMember Posts: 1,894
    I'm not sure what one you're using from your example but try game.screen.size.height which you get by going Devices > Screen > Size > Height.

    I found a problem myself with the game.display size.height value which you get by going Game > Display Size > Height
Sign In or Register to comment.