Skip to main content

AudioSource.SetScheduledEndTime(number time)

Changes the time at which a sound that has already been scheduled to play will end. Notice that depending on the timing not all rescheduling requests can be fulfilled.

Parameters:

NameTypeDescription
timenumberTime in seconds.

Usage

---@type AudioSource
local audiosource;

---@type number
local time;


audiosource.SetScheduledEndTime(time)