Before adding collision detection
Before adding collision