Source:setLooping

Edit

Sets whether or not the Source loops.

Source:setLooping(loop)

Arguments

NameTypeDescription
loopboolean Whether or not the Source will loop.

Returns

Nothing

Notes

Attempting to loop a Source backed by a stream Sound will cause an error.

See also