Source:setLooping

Sets whether or not the Source loops.

Source:setLooping(loop)

Arguments

NameTypeDescription
loopbooleanWhether 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