It is a movie for kids, it’s similar to toy story. The scene that I remember is a group of toy army is heading to the top of the mountain to reach the house and there is a 3-4 toys ( One of the toy is a horse or pony) that is stopping them from heading to that house.
Small Soldiers?