A charity that promotes walking, cycling and public transport says the new Active Travel Bill has the potential to be the "most effective public health initiative since the smoking ban."
Sustrans Cymru first suggested the new law in a petition to the Assembly six years ago.
It says that the networks of new routes created by the Bill will play a major role in persuading people out of their cars for shorter journeys but what is also needed are programs that will help people to take advantage of the routes.
The evidence shows that the easiest way for most people to get more exercise is to build it into their daily routine, but even though most everyday journeys are short, many of us still choose to take the car; in fact 20% of our car journeys are less than one mile.
The Active Travel Bill aims to get more people walking and cycling for short local trips as part of tackling the obesity epidemic and reducing congestion.
More top news
70-year-old Stephanie Booth, a pioneer of gender reassignment, died when a tractor crashed down a bank on her farm.
Several supermarkets have announced fuel price cuts of 2p pence per litre
Mark Ashley Hughes was found in possession of a sawn off shotgun and a Tazer. He claimed he found them in his grandparents garden.