Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update AnimationTrack.yaml #1027

Merged
merged 3 commits into from
Feb 19, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 5 additions & 6 deletions content/en-us/reference/engine/classes/AnimationTrack.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@ type: class
category: Animations
memory_category: Animation
summary: |
Controls the playback of an animation on an `Class.AnimationController`.
Controls the playback of an animation on an `Class.Animator`.
description: |
Controls the playback of an animation on an `Class.AnimationController`. This
Controls the playback of an animation on an `Class.Animator`. This
object cannot be created, instead it is returned by the
`Class.Animator:LoadAnimation()` method.
code_samples:
Expand All @@ -22,7 +22,7 @@ properties:
description: |
The `Class.Animation` object that was used to create this
`Class.AnimationTrack`. To create an `Class.AnimationTrack`, you must load
an `Class.Animation` object onto an `Class.AnimationController` using the
an `Class.Animation` object onto an `Class.Animator` using the
`Class.Animator:LoadAnimation()` method.
code_samples:
- AnimationPlayed
Expand Down Expand Up @@ -53,9 +53,8 @@ properties:
This property can be used by developers to check if an animation is
already playing before playing it (as that would cause it to restart). If
a developer wishes to obtain all playing
`Class.AnimationTrack|AnimationTracks` on a `Class.Humanoid` or
`Class.AnimationController` they should use
`Class.Humanoid:GetPlayingAnimationTracks()`
`Class.AnimationTrack|AnimationTracks` on an `Class.Animator` or a `Class.Humanoid`, they should use
`Class.Animator:GetPlayingAnimationTracks()`
code_samples:
- AnimationTrack-IsPlaying
type: bool
Expand Down