Struggling with a fairly simple bit of code
This is part of a basic Game SpriteKit setup where I am getting a ball to bounce around a physical boundary
This is an adaption of a RayWenderlich tutorial to build a Breakout game.
Uwrapping optionals hurts my head. I’m assuming the issue is unwrapping SKSpriteNode rather than my own variable??
here’s my code