> For the complete documentation index, see [llms.txt](https://lochiwei.gitbook.io/ios/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://lochiwei.gitbook.io/ios/swift-playgrounds/learn-to-code-2/types/animatable.md).

# Learn to Code 2 ⟩  Animatable

## Declaration

```swift
// ⭐️ defined in Item.swift
public protocol Animatable {

    func reset()
    
    /// Each `Item` describes its own actions.
    func placeAction(withDuration duration: TimeInterval) -> SCNAction
    func removeAction(withDuration duration: TimeInterval) -> SCNAction
}
```

:arrow\_lower\_right: inherited by：[🅿️ Item](/ios/swift-playgrounds/learn-to-code-2/types/item.md)
