title: SpriteKit prevent sprite from leaving screen without bouncing
body: <p>I am using the accelerometer to move a sprite around the screen, and I am using spriteKit collisions to keep the sprite in the bounds of the screen. Is there a way I can prevent the sprite from bouncing off the sides of the screen? (the sprite should just stop on the edge of the screen)</p>