natiny.audio.source_play
natiny.audio.source_play(source)
Starts a stopped source or resumes a paused source.
Parameters
| Name | Type | Description |
|---|---|---|
source |
number |
Source handle |
Example
natiny.audio.source_play(source)
Notes
- A non-looping source that reached its end starts again from the beginning.
- Calling this for an already playing source keeps its current position.
- A source with an invalid or destroyed clip remains silent, and
natiny.audio.source_get_playingreturnsfalsefor it. - Invalid and non-source handles are ignored.