Stop (Function)

From Goodblox Wiki
Revision as of 11:13, 20 September 2021 by Xyrafrost (talk | contribs) (created the page)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search


Function
Syntax Stop( )
Returns n/a
Description: Stops a currently playing sound and returns the marker to the beginning of the sound file
In Object: Sound


Function
Syntax Stop( Float fadeTime = 0.100000001) )
Returns n/a
Description: Stops the AnimationTrack. Once called playback of the AnimationTrack will stop and the weight of the animation will move towards zero over a length of time specified by the optional fadeTime parameter.
In Object: AnimationTrack