# AnimationPlayer

Roblox Engine API class from Roblox Studio 0.744.0.7441077 (version-7aaa6838d36c4448).

- Inherits from, nearest first: [Instance](https://rapi.sleaze.dev/classes/Instance.md), [Object](https://rapi.sleaze.dev/classes/Object.md)
- Memory category: Gui
- HTML page: https://rapi.sleaze.dev/classes/AnimationPlayer/
- Roblox documentation: https://create.roblox.com/docs/reference/engine/classes/AnimationPlayer

## Properties

### AnimationContent

```luau
AnimationPlayer.AnimationContent: Content
```

- Tags: Roblox script security

### AutoPlay

```luau
AnimationPlayer.AutoPlay: boolean = false
```

- Tags: Roblox script security

### CurrentFrame

```luau
AnimationPlayer.CurrentFrame: number = 0
```

- Tags: Not replicated, Roblox script security

### Enabled

```luau
AnimationPlayer.Enabled: boolean = true
```

- Tags: Roblox script security

### IsPlaying

```luau
AnimationPlayer.IsPlaying: boolean = false
```

- Tags: Read only, Roblox script security, Save only

### Loop

```luau
AnimationPlayer.Loop: boolean = true
```

- Tags: Roblox script security

### Speed

```luau
AnimationPlayer.Speed: number = 1
```

- Tags: Roblox script security

### TimePosition

```luau
AnimationPlayer.TimePosition: number = 0
```

- Tags: Not replicated, Roblox script security

### Track

```luau
AnimationPlayer.Track: string = ""
```

- Tags: Roblox script security

## Methods

### Pause

```luau
AnimationPlayer:Pause()
```

- Tags: Roblox script security

### Play

```luau
AnimationPlayer:Play()
```

- Tags: Roblox script security

### Stop

```luau
AnimationPlayer:Stop()
```

- Tags: Roblox script security

## Inherited members

- From [Instance](https://rapi.sleaze.dev/classes/Instance.md): `Archivable`, `archivable`, `Attributes`, `AttributesReplicate`, `AttributesSerialize`, `HistoryId`, `Name`, `Parent`, `PredictionMode`, `PropertyStatusStudio`, `RobloxLocked`, `SerializedOverrides`, `SourceAssetId`, `Tags`, `UniqueId`, `numExpectedDirectChildren`, `DataCost`, `Capabilities`, `DefinesCapabilities`, `IsInSandbox`, `Sandboxed`, `AddTag`, `ClearAllChildren`, `Clone`, `Destroy`, `FindFirstAncestor`, `FindFirstAncestorOfClass`, `FindFirstAncestorWhichIsA`, `FindFirstChild`, `FindFirstChildOfClass`, `FindFirstChildWhichIsA`, `FindFirstDescendant`, `GetActor`, `GetAttribute`, `GetAttributeChangedSignal`, `GetAttributes`, `GetChildren`, `GetDebugId`, `GetDescendants`, `GetFullName`, `GetStyled`, `GetStyledPropertyChangedSignal`, `GetTags`, `HasTag`, `IsAncestorOf`, `IsDescendantOf`, `IsPropertyModified`, `QueryDescendants`, `RemoveTag`, `ResetPropertyToDefault`, `SetAttribute`, `WaitForChild`, `Remove`, `children`, `clone`, `destroy`, `findFirstChild`, `getChildren`, `isDescendantOf`, `remove`, `AncestryChanged`, `AttributeChanged`, `ChildAdded`, `ChildRemoved`, `DescendantAdded`, `DescendantRemoving`, `Destroying`, `StyledPropertiesChanged`, `childAdded`
- From [Object](https://rapi.sleaze.dev/classes/Object.md): `ClassName`, `className`, `GetPropertyChangedSignal`, `IsA`, `isA`, `Changed`
