Trying to pull size info from a SKShapeNode objects

This was a much longer question, which I solved by myself because I realized I wasn't using the height and width of the SKShapeNode, I was using the width and height from the SKSpriteNode to set everything positions.

But that leaves me with a question I still can't find the answer to: How to I get the size info from an SKShapeNode object?

I do need it to proceed further. Sure I can calculate it as I set its position, but surely that property must be in there already.

Old question but an answer can still be useful to someone.

let frameRect = mySKShapeNode.frame
let containingRect = mySKShapeNode.calculateAccumulatedFrame()

frameRect is the CGRect frame of the node containingRect is the CGRect containing the node, eventually rotated

Look at calculateAccumulatedFrame()

Trying to pull size info from a SKShapeNode objects
 
 
Q