Stop (Function): Difference between revisions
From Legacy Roblox Wiki
Jump to navigationJump to search
>Mindraker No edit summary |
>ArceusInator Example |
||
Line 4: | Line 4: | ||
|returns = n/a | |returns = n/a | ||
|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 = [[RBX.lua.Sound (Object)|Sound]] | |object = [[RBX.lua.Sound (Object)|Sound]], [[RBX.lua.AnimationTrack (Object)|AnimationTrack]] | ||
|}} | |}} | ||
{{Example| | |||
<pre> | |||
Workspace.Player.Head.Sound:Stop() -- stops the sound | |||
</pre>}} |
Revision as of 22:00, 27 December 2010
Stop( ) | |
Returns | n/a |
Description: | Stops a currently playing sound and returns the marker to the beginning of the sound file |
Example
Workspace.Player.Head.Sound:Stop() -- stops the sound