Play (Function): Difference between revisions

From Goodblox Wiki
Jump to navigationJump to search
mNo edit summary
No edit summary
Line 1: Line 1:
{{CatUp|Functions}}
{{CatUp|Functions}}


There is a special function for Sounds.
<onlyinclude>{{Function|
<onlyinclude>{{Function|
name                  = Play
name                  = Play
Line 9: Line 10:
}}</onlyinclude>
}}</onlyinclude>


There is a special function for AnimationTracks.
<onlyinclude>{{Function|
<onlyinclude>{{Function|
name                  = Play
name                  = Play

Revision as of 04:28, 22 September 2021


There is a special function for Sounds.

Function
Syntax Play( )
Returns n/a
Description: Plays a stopped or paused sound
In Object: Sound


There is a special function for AnimationTracks.

Function
Syntax Play( Float fadeTime = 0.100000001, Float weight = 1, Float speed = 1) )
Returns n/a
Description: Plays the AnimationTrack. Once called an AnimationTrack will play with the specified fadeTime, weight and speed.
In Object: AnimationTrack