Torque 2D/Reference/Strategy/StrategyMouseSelections/initMouseFunction

From TDN

What the new initMouse() function should look like

// --------------------------------------------------------------------
// initMouse()
//
// Here we set the initial values that the mouse settings and functions
// will need
// --------------------------------------------------------------------
function initMouse()
{
   // create the selection container object
   new SimSet(Selections);
   
   // this is the limit of the objects you can select
   $selectionLimit = 20;

   // create the selection box object that will be stretched with our
   // selection box lines
   createBox(SelectionBox);
}