How to make two sides edges with keeping scale mode Aspect fill? <p>I am trying to make edges for the two sides in the scene by using this code</p> <pre><code>let leftEdge : SKNode = SKNode() leftEdge.physicsBody = SKPhysicsBody(edgeFromPoint: CGPointZero , toPoint:CGPointMake(0.0, self.frame.size.height + 100)) leftEdge.position = CGPointZero; leftEdge.physicsBody!.categoryBitMask = EdgeCategory; leftEdge.physicsBody!.collisionBitMask = BubblesCategory; self.addChild(leftEdge) // right edge let rightEdge : SKNode = SKNode() rightEdge.physicsBody = SKPhysicsBody(edgeFromPoint: CGPointZero , toPoint:CGPointMake(0.0, self.frame.size.height + 100)) rightEdge.position = CGPointMake(self.frame.size.width, 0.0); rightEdge.physicsBody!.categoryBitMask = EdgeCategory; rightEdge.physicsBody!.collisionBitMask = BubblesCategory; self.addChild(rightEdge) </code></pre> <p>It works fine if i use <code>ResizeFill</code> scale mode but i want to make the mode <code>AspectFill</code> so how i can make the edges with keeping the mode <code>AspectFill</code>?</p>