We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Lyria.Events.on('test', function() { console.log('test'); });
Lyria.Events.trigger('test');
This will now output test in your developer console.
test
Lyria.Events.trigger({ name: test, interval: 3000 });
This will output test after 3000 milliseconds.
You should not use this if you want execute an operation on each frame. In that case, you should use Lyria.Loop.