A moving subject indoors presents challenges compact cameras cannot usually overcome. To get a sharp photo of a moving subject, a camera needs to have a higher shutter speed. To get a higher shutter speed in low light requires a brighter lens. A bright lens costs more to manufacture. Of course you can use a flash, but a flash has a short range, and most people do not like the images built-in flashes produce.
Compact cameras also use contrast detection autofocusing. In low light, that type of autofocus generally slows down, causing a hesitation when you press the shutter button. You can speed up any camera by pre-focusing; half-pressing the shutter button to acquire focus and exposure.
One of the best compacts at right around $400 is the S100. It has a slightly larger digital senor and a brighter lens (at wide angle) than most compacts. But it is not known for being fast.
I want to know what is a camera that is affordable and takes great quality pictures.
I will be mostly using it inside and outside, take pictures of my daughter(on the move).
My price range is up to $400.
It can be a point and shoot or compact cameras.
One that has speed on a budget.
Thanks for reading.

Chowhound
Comic Vine
GameFAQs
GameSpot
Giant Bomb
TechRepublic