Stop (Method): Difference between revisions

From Legacy Roblox Wiki
Jump to navigationJump to search
>Camoy
fixed
>Camoy
No edit summary
Line 1: Line 1:
<onlyinclude>{{Method|name = Stop
<onlyinclude>{{Method
|arguments =
|name = Stop
|returns = [[nil]]
|description = Stops a currently playing sound and returns the marker to the beginning of the sound file.
|description = Stops a currently playing sound and returns the marker to the beginning of the sound file.
|object = [[Sound]]
|object = Sound, AnimationTrack
}}</onlyinclude>
}}</onlyinclude>
{{clear floats}}
{{Example|
<pre>
game.Workspace.Player.Head.Sound:Stop() -- stops the sound
</pre>}}
[[Category:Methods]]
[[Category:Methods]]

Revision as of 22:05, 27 December 2010

Stop( )
Returns nil
Description: Stops a currently playing sound and returns the marker to the beginning of the sound file.
Member of: Sound, AnimationTrack


Example
game.Workspace.Player.Head.Sound:Stop() -- stops the sound