Skip to content

Api > AudioSource > PlayScheduled()


AudioSource.PlayScheduled(number time)⚓︎

Plays the clip at a specific time on the absolute time-line that AudioSettings.dspTime reads from.

Parameters:⚓︎

Name Type Description
time number Time in seconds on the absolute time-line that AudioSettings.dspTime refers to for when the sound should start playing.

Usage⚓︎

---@type AudioSource
local audiosource;

---@type number
local time;


audiosource.PlayScheduled(time)