p5.js | clearCues() Function

The clearCues() function is an inbuilt function in p5.js library. This function is used to remove all the task which is specified by the addCue() function.



Note: All the sound-related functions only work when the sound library is included in the head section of the index.html file.

Parameter: This function does not accept any parameter: