// disable all the Recorder blocks in a session
// #needsSession

if (event.session == null)
	return;

event.session.blocks.forEach( block =>
{
	if (block.name == "Recorder")
		block.disabled = true;
});