I am using Swift and SpriteKit and I create a new circle (as a Node) like this
var circlePlayer = SKShapeNode(circleOfRadius: 10)
and I would like to access later on the radius of the circle in order to get its value or modify it (increase it by 1 for instance) - how can I achieve this?
let radius = (circlePlayer.frame.size.width-1.0)/2.0
– 0x141E