Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

In SpriteKit, SKActions alter node properties without invoking its setter method by directly manipulating the node's underlying presentation values. This means that the changes made by the SKAction are not immediately reflected in the node's actual properties, but rather in a separate layer of presentation values that are used to render the node on the screen. This allows for smooth animations and transitions, as the node's actual properties are only updated at the end of the action sequence. This can also help optimize performance by reducing the number of setter method calls during animations.