Problems with Change attribute

Alright, so I have Actor 1 whose position lies at (20,20). Within actor 1, I have a rule that says:

if game.screen.height =568, then change attribute self.position.x to -20
Otherwise
Change attribute self.position.x to 20

However, when I test it and switch from Legacy iPhone to iPhone 5, it doesn't move, just stays put. Any ideas?

Side note: I'm using the latest Nightly Build

Comments

Sign In or Register to comment.