title: Cocos2d, Box2D Still body till input
body: <p>Hey guys i have a question here, How do i create a body that will not have physic function until i press it? i have this code in my init</p>
  
  <pre><code>CCSprite *tail = [CCSprite spriteWithFile:@"Ball.jpg"];
  [self addChild:tail z:1];
  
  b2BodyDef tailBodyDef;
  tailBodyDef.type = b2_dynamicBody;
  tailBodyDef.position.Set(100/PTM_RATIO, 100/PTM_RATIO);
  tailBodyDef.userData = tail;
  tailBody = world-&gt;CreateBody(&amp;tailBodyDef);
  
  b2CircleShape circle;
  circle.m_radius = 26.0/PTM_RATIO;
  
  b2FixtureDef tailShapeDef;
  tailShapeDef.shape = &amp;circle;
  tailShapeDef.density = 1.0f;
  tailShapeDef.friction = 0.2f;
  tailShapeDef.restitution = 0.8f;
  tailBody-&gt;CreateFixture(&amp;tailShapeDef);
  
  [self schedule: @selector(tick:)];
  </code></pre>
  
  <p>The ball will drop off the the edge of screen at the start of game, but thats not what i want.  i want it to stay at the same position until i press it. is there anyway i could hold the object back until i give some input?</p>