Skip to content

Sound ​

Inherits Instance.

Made with Instance.new("Sound").

Properties ​

NameTypeNotes
IsLoadedbooleanRead-only. Not saved in places.
IsPlayingbooleanRead-only. Not saved in places.
LoopRegionNumberRange
Loopedboolean
PlaybackLoudnessnumberRead-only. Not saved in places.
PlaybackRegionNumberRange
PlaybackRegionsEnabledboolean
PlaybackSpeednumber
Playingboolean
RollOffMaxDistancenumber
RollOffMinDistancenumber
RollOffModeEnumRollOffMode
SoundGroupSoundGroup?
SoundIdstring
TimeLengthnumberRead-only. Not saved in places.
TimePositionnumberNot saved in places.
Volumenumber

Methods ​

  • Pause(): ()
  • Play(): ()
  • Resume(): ()
  • Stop(): ()

Events ​

  • DidLoop, whose handlers get (string, number).
  • Ended, whose handlers get (string).
  • Loaded, whose handlers get (string).
  • Paused, whose handlers get (string).
  • Played, whose handlers get (string).
  • Resumed, whose handlers get (string).
  • Stopped, whose handlers get (string).

Inherited ​

From Instance: AddTag, AncestryChanged, Archivable, AttributeChanged, Changed, ChildAdded, ChildRemoved, ClassName, ClearAllChildren, Clone, DescendantAdded, DescendantRemoving, Destroy, Destroying, FindFirstAncestor, FindFirstAncestorOfClass, FindFirstAncestorWhichIsA, FindFirstChild, FindFirstChildOfClass, FindFirstChildWhichIsA, GetAttribute, GetAttributeChangedSignal, GetAttributes, GetChildren, GetDescendants, GetFullName, GetPropertyChangedSignal, GetTags, HasTag, IsA, IsAncestorOf, IsDescendantOf, IsPropertyModified, Name, Parent, QueryDescendants, RemoveTag, ResetPropertyToDefault, SetAttribute, WaitForChild.

Apache License 2.0