Keys is used to set things like space bar to pause you can only bind and unbind keys

The function bind is used to bind a piece of code to a key press:

Keys.bind("space", {Sim.running = ! Sim.running});

Last modified September 18, 2008 8:19 pm
Copyright 2008 Algoryx Simulation