
Add this API which just listens to all the chat commands on('chat:message', function (msg) { } ); Create a shape and select it. just add a dummy command in chat !Test you will get this error TypeError: Cannot call method 'get' of undefined at Sandbox.<anonymous> (evalmachine.<anonymous>:7:14) at eval (