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 milder feel than last night but there's wind and rain on the way, and ice will form in places too!
Public Health Wales has spoken to ITV Cymru Wales about how to safe and well during the winter months.
Paramedics are poised to deal with any emergency – but 35,000 feet in the air is the last place you'd expect to have to spring into action.