Stop (Method): Difference between revisions
From Legacy Roblox Wiki
Jump to navigationJump to search
>Camoy fixed |
>MrNicNac Use the template's property "object2" when naming more than one object in a template. |
||
(6 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
<onlyinclude>{{Method|name = Stop | <onlyinclude>{{Method | ||
|name = Stop | |||
|description = Stops a currently playing sound and returns the marker to the beginning of the sound file, or, if called on an AnimationTrack, discontinues the running animation. | |||
|description = Stops a currently playing sound and returns the marker to the beginning of the sound file. | |object = Sound | ||
|object = | |object2 = AnimationTrack | ||
}}</onlyinclude> | }}</onlyinclude> | ||
{{clear floats}} | |||
{{Example| | |||
<pre> | |||
game.Workspace.Player.Head.Sound:Stop() -- stops the sound | |||
</pre>}} | |||
[[Category:Methods]] | [[Category:Methods]] |