stopCurrentAnimations

public void stopCurrentAnimations()

Stops all currently running animations.

This method invokes the stopCurrentAnimations operation on the animationComponent, ensuring that any ongoing animations tied to the current state are terminated immediately.

It is typically used when there is a need to halt animations due to state changes or to free up resources.