Work in progress

Godot documentation is being updated to reflect the latest changes in version 4.0. Some documentation pages may still state outdated information. This banner will tell you if you're reading one of such pages.

The contents of this page are up to date. If you can still find outdated information, please open an issue.


Inherits: SkeletonModification2D < Resource < RefCounted < Object

A modification that holds and executes a SkeletonModificationStack2D.


This SkeletonModification2D holds a reference to a SkeletonModificationStack2D, allowing you to use multiple modification stacks on a single Skeleton2D.

Note: The modifications in the held SkeletonModificationStack2D will only be executed if their execution mode matches the execution mode of the SkeletonModification2DStackHolder.



get_held_modification_stack ( ) const


set_held_modification_stack ( SkeletonModificationStack2D held_modification_stack )

Method Descriptions

SkeletonModificationStack2D get_held_modification_stack ( ) const

Returns the SkeletonModificationStack2D that this modification is holding.

void set_held_modification_stack ( SkeletonModificationStack2D held_modification_stack )

Sets the SkeletonModificationStack2D that this modification is holding. This modification stack will then be executed when this modification is executed.