Stop (Function): Difference between revisions
From Goodblox Wiki
Jump to navigationJump to search
(created the page) |
mNo edit summary |
||
(2 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
{{CatUp|Functions}} | {{CatUp|Functions}} | ||
There is a special function for Sound objects. | |||
<onlyinclude>{{Function| | <onlyinclude>{{Function| | ||
name = Stop | name = Stop | ||
Line 9: | Line 9: | ||
}}</onlyinclude> | }}</onlyinclude> | ||
There is a special function for AnimationTrack objects. | |||
<onlyinclude>{{Function| | <onlyinclude>{{Function| | ||
name = Stop | name = Stop | ||
Line 16: | Line 17: | ||
|object = [[GBX.lua.AnimationTrack (Object)|AnimationTrack]] | |object = [[GBX.lua.AnimationTrack (Object)|AnimationTrack]] | ||
}}</onlyinclude> | }}</onlyinclude> | ||
[[Category:Functions]] |
Latest revision as of 20:52, 23 September 2021
There is a special function for Sound objects.
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 |
There is a special function for AnimationTrack objects.
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 |