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
A rather wet and windy evening, with rain in the north and showers elsewhere.
The 19-year-old's body was discovered in Builth Wells last month, just days after he was reported missing at the Royal Welsh Show.
The funeral has taken place of a one-year-old girl who died when a parked car rolled into a wall, which then collapsed on her.