FlxG.camera.setPosition
and it works but my viewport is also moving, changing FlxG.camera.scroll.x doesn't affect the camera. I
s there a way to do this? Should I make an invisible sprite always in front of the player and make the camera follow it? It seems "hacky".FlxG.camera.followLead.x = 50;