Play (Function): Difference between revisions

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


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


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

Revision as of 04:29, 22 September 2021


There is a special function for Sound objects.

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


There is a special function for AnimationTrack objects.

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