title: Redirect to URL from CoffeeScript
body: <p>I'm trying to add a button to an app that uses Crafty, but, unlike the other buttons, I want this one to redirect the user to a different URL.</p>
  
  <p>Notice that no-one ever taught me how to use Coffee or JavaScript, so I'm really new.</p>
  
  <p>I'm trying to use the redirection here:</p>
  
  <pre><code>cfg.onClickTeacher = -&gt; 
        preloadScene(CFG.ASSETS_MAIN, -&gt; "www.my-site/teacher")
  </code></pre>
  
  <p>But it's not working, so, what do I have to do?</p>