I have 2 SKSpritenodes: robot & computer robot is the parentNode and computer is the childNode
robot.addChild(computer)
Now I want to change the size of the computer by just using the name of the parentNode. So I need a code like: robot.childnode.size.width = xxx How can I do this?
the reason for this: I have multiple skspritenodes called robot and I can detect them with collision which one it is, so I need this code to acces the childnode of that particular parentNode.