You're thinking of leg press. Squats activate over a hundred muscles throughout the body. They are the best mass/strength building exercise. Leg press is okay, but it shouldn't replace squats. I suppose the best replacement for conventional squats would be a different variation of squats.
![Smile](https://www.bodybuilding.net/images/smilies/smile.gif)
Why do you ask, just out of curiosity?