I have an animation (code below) how to increase it ?? (SKTexture does not accept CGSize - there is only a method that returns it .size ())

var enemyAnimationTextures:[SKTexture] = [] let action = SKAction.animate(with: enemyAnimationTextures, timePerFrame: 0.1) enumNodeDelete.run(SKAction.sequence([action, SKAction.removeFromParent()])) 

    1 answer 1

    SKTexture is just a picture that is superimposed on SKSpriteNode. You need to change the size of the node itself. Documentation - https://developer.apple.com/documentation/spritekit/sktexture .

    • Thank. I have already decided this by simply making the animation 2 times more - chilo5432